variable_length_integer

Function variable_length_integer 

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

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