Skip to content

ToLEB128

Name Mandatory Description Default Type
⬅️ Input The integer to encode. Int
Output ➡️ Outputs the LEB128 encoded byte array. Bytes
Signed No If the integer to encode/decode is signed and can be negative. false Bool

This shard encodes the input(a signed or unsigned integer) into a LEB128 encoded byte array.