Skip to main content

write_u32be

Function write_u32be 

Source
pub fn write_u32be(buf: &mut [u8], val: u32)
Expand description

Write a big-endian u32 into a 4-byte slice. Caller guarantees buf.len() >= 4.