Function leb128::write::unsigned

source ยท
pub fn unsigned<W>(w: &mut W, val: u64) -> Result<usize, Error>
where W: ?Sized + Write,
Expand description

Write val to the std::io::Write stream w as an unsigned LEB128 value.

On success, return the number of bytes written to w.