pub fn read_variable_length_integer<R>(reader: R) -> Result<u64, Error>
where R: Read,
Expand description

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