encode_unsigned

Function encode_unsigned 

Source
pub fn encode_unsigned<I, O: Write>(
    input: I,
    output: O,
) -> Result<usize, LEB128Error>
where I: Into<u128>,
Expand description

Encodes an unsigned integer using LEB128 (Little-Endian Base 128) encoding.

See https://en.wikipedia.org/wiki/LEB128