pub fn linearize( pool: &dyn BufferAccess, segments: &mut &[TxSegment], ) -> Result<Vec<u8>, GuestMemoryError>
Linearizes the next packet in a list of segments, returning the buffer data and advancing the segment list.