Function varu64::encode_non_zero_u64 [−][src]
pub fn encode_non_zero_u64(n: NonZeroU64, out: &mut [u8]) -> usize
Expand description
Encodes n: NonZeroU64
into the output buffer, returning how many bytes have been written.
Panics
Panics if the buffer is not large enough to hold the encoding.