Module dyn_int

Module dyn_int 

Source

Functionsยง

decode
Decodes a number from a slice of bytes.
encode
Encodes a number into a vector of bytes.
encoded_size
Gives encoded size in bytes
read_dynint
read_from_slice
Decodes a number from a slice of bytes when size of encoded number is unknown, returning the number and the number of bytes read.
write_dynint