varintbuf
pub fn encode(val: u64, buf: impl BufMut) -> usize
Encode a u64 integer to the bytes::BufMut. Returns how many bytes were encoded.
u64
bytes::BufMut