Skip to main content

array

Function array 

pub(crate) fn array<const N: usize>(data: &[u8], offset: usize) -> [u8; N]
Expand description

Returns N bytes at offset.

Callers check the length first. Missing bytes read as zero.