Skip to main content

from_be_const_u32

Function from_be_const_u32 

Source
pub const unsafe fn from_be_const_u32(slice: &[u8], start: usize) -> u32
Expand description

Converts slice with offset to a big-endian u32.

§Safety

This function does not verify the out-of-bounds access. It is up to the caller to ensure that the range is valid.

§Panics

It will panic on out-of-bounds access, but only in debug mode.