Function serialize::leb128::write_signed_leb128_to[][src]

pub fn write_signed_leb128_to<W>(value: i128, write: W) -> usize where
    W: FnMut(usize, u8), 
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

encodes an integer using signed leb128 encoding and stores the result using a callback function.

The callback write is called once for each position that is to be written to with the byte to be encoded at that position.