encode_signed

Function encode_signed 

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

Encodes a signed integer using LEB128 (Little-Endian Base 128) encoding.

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