pub fn encode_u64_to_array_ref(value: u64, buf: &mut [u8; 9]) -> usize
Encodes a u64 into 1-9 bytes and returns the number of bytes updated.