Skip to main content

try_be_u64

Function try_be_u64 

Source
pub fn try_be_u64(data: &[u8], off: usize) -> Option<u64>
Expand description

Read a u64 at off; None if out of range. Never panics. Use when 0 must be distinguished from absent/truncated.