pub fn read_u32(bytes: &[u8], offset: usize) -> Result<u32, BinaryLayoutError>Expand description
Reads little-endian u32 at offset.
ยงErrors
BinaryLayoutError::UnexpectedEof when fewer than four bytes remain.
pub fn read_u32(bytes: &[u8], offset: usize) -> Result<u32, BinaryLayoutError>Reads little-endian u32 at offset.
BinaryLayoutError::UnexpectedEof when fewer than four bytes remain.