pub fn take_array<const N: usize>( buffer: &[u8], ) -> Result<([u8; N], &[u8]), EncodingError>
split the first N bytes of buffer off and return them
N
buffer