Skip to main content

put_u32

Function put_u32 

Source
pub fn put_u32(payload: &mut [u8], off: usize, v: u32) -> Option<()>
Expand description

Write a u32 at offset off (little-endian).

Returns None if the write would overflow the payload.