snarkvm_console_collections::environment

Function variable_length_integer

Source
pub fn variable_length_integer(value: &u64) -> Vec<u8> 
Expand description

Returns the variable length integer of the given value. https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer