Function leb128::write::unsigned [] [src]

pub fn unsigned<W>(w: &mut W, val: u64) -> Result<()Error> where W: Write

Write the given unsigned number using the LEB128 encoding to the given std::io::Writeable. Returns the number of bytes written to w, or an error if writing failed.