Function encode_var_u64

Source
pub fn encode_var_u64(
    uint: u64,
    buffer: &mut [u8],
) -> Result<&mut [u8], EncodingError>
Expand description

Write uint to the start of buffer and return the remaining part of buffer.