Function serialize::leb128::write_unsigned_leb128_to
[−]
[src]
pub fn write_unsigned_leb128_to<W>(value: u128, write: W) -> usize where
W: FnMut(usize, u8),
encodes an integer using unsigned 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.