pub fn bytes_to_usize(bytes: &[u8]) -> Result<usize>
Returns a usize from the given bytes.
usize
Returns an error if there are not enough bytes to represent a usize.