Function take

Source
fn take(buf: &mut Cursor<&mut BytesMut>, n: usize) -> Bytes