Function unsigned_varint::encode::u64
source · [−]pub fn u64(number: u64, buf: &mut [u8; 10]) -> &[u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Expand description
Encode the given u64
into the given byte array.
Returns the slice of encoded bytes.