Function read_u32_slice

Source
pub fn read_u32_slice(data: &[u8], start: usize) -> Result<u32, ProgramError>
Expand description

ยงSafety

The caller is responsible for ensuring that the range [start..start + 4] is within bounds of the data slice.