Function take_array_mut

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

split the first N bytes of buffer off and return them