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