pub fn parse_record<'a>(
        input: &'a [u8],
        endianness: Endianness,
    ) -> IResult<&'a [u8], record::PcapRecord<'a>> {
        record::PcapRecord::parse(input, endianness)
    }
///
/// Parse a slice of bytes as a single record. Endianness must be known.
///
Parse a slice of bytes as a single record. Endianness must be known.
Parse a slice of bytes as a single record . Endianness must be known .
pub fn parse_record<'a>(
        input: &'a [u8],
        endianness: Endianness,
    ) -> IResult<&'a [u8], record::PcapRecord<'a>> {
        record::PcapRecord::parse(input, endianness)
    }
pub fn parse_record < ' a > ( input : & ' a [ u8 ] , endianness : Endianness , ) -> IResult < & ' a [ u8 ] , record :: PcapRecord < ' a > > { record :: PcapRecord :: parse ( input , endianness ) }
Parse a slice of bytes as a single record.
Parse a slice of bytes as a single record .
input
&'a [u8]
endianness
Endianness