pub fn take_n<'a>(buf: &mut &'a [u8], n: usize) -> Result<&'a [u8], DiagError>
Consumes exactly n bytes from the cursor, returning a zero-copy slice.
n