pub fn read_u64<B: ByteSlice>(buf: B) -> Result<(u64, usize), Error>