Function pcap_parser::pcapng::parse_simplepacketblock_le[][src]

pub fn parse_simplepacketblock_le(
    i: &[u8]
) -> IResult<&[u8], SimplePacketBlock<'_>, PcapError<&[u8]>>
Expand description

Parse a Simple Packet Block (little-endian)

Note: this function does not remove padding in the data field. Use packet_data to get field without padding.