[][src]Function lazy_bytes_cast::read_u32

pub const fn read_u32(input: &[u8], cursor: usize) -> u32

Read u32 at compile time.

cursor allows to specify position in slice, allowing avoid the need for slicing