Skip to main content

get_i32

Function get_i32 

Source
pub fn get_i32(payload: &[u8], off: usize) -> Option<i32>
Expand description

Read an i32 at offset off (little-endian), or None if out of bounds.

Convenience wrapper around get_u32.