Function vbyte_write

Source
pub fn vbyte_write<E: Endianness, W: Write>(
    value: u64,
    writer: &mut W,
) -> Result<usize>
Expand description

Write a natural number to a byte stream using variable-length byte codes and return the number of bytes written.

This method just delegates to the correct endianness-specific method.