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