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