Function decode_with_offset

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

Decode a byte slice into a u64 integer at a specific offset. Returns how many bytes were decoded.