Function std::old_io::extensions::u64_from_be_bytesUnstable
[-] [+]
[src]
pub fn u64_from_be_bytes(data: &[u8], start: usize, size: usize) -> u64
Extracts an 8-bit to 64-bit unsigned big-endian value from the given byte buffer and returns it as a 64-bit value.
Arguments:
data
: The buffer in which to extract the value.start
: The offset at which to extract the value.size
: The size of the value in bytes to extract. This must be 8 or less, or task panic occurs. If this is less than 8, then only that many bytes are parsed. For example, ifsize
is 4, then a 32-bit value is parsed.