encode_with_offset

Function encode_with_offset 

Source
pub fn encode_with_offset(value: u64, buf: &mut [u8], offset: usize) -> usize
Expand description

Encode a u64 integer at a specific offset in the byte slice. Returns how many bytes were encoded.