pub(crate) fn array<const N: usize>(data: &[u8], offset: usize) -> [u8; N]
Returns N bytes at offset.
N
offset
Callers check the length first. Missing bytes read as zero.