Function take_array

Source
pub fn take_array<const N: usize>(
    buffer: &[u8],
) -> Result<([u8; N], &[u8]), EncodingError>
Expand description

split the first N bytes of buffer off and return them