pub fn le_u64(bytes: &[u8]) -> u64
Returns the first eight bytes in the supplied slice as a little-endian u64.
u64
let bytes = &[1, 2, 3, 4, 5, 6, 7, 8]; assert_eq!(le_u64(bytes), 0x0807060504030201);