Skip to content

FromBytes

Name Mandatory Description Default Type
⬅️ Input This shard will take a byte array. Bytes
Output ➡️ This shard will return the original value converted back to its original type. Any

This shard takes a serialized binary representation of a value and convert it back to its original type.

Details

Do note that this shard can only convert serialized byte sequences to its original value. This means that it can only convert values that were previously converted to a byte sequence using the ToBytes shard and not other shards like ToLEB128 or IntsToBytes.