[][src]Function pcap_parser::parse_pcap

pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture<'_>, PcapError>

Parse the entire file

Note: this requires the file to be fully loaded to memory.