Function pcap_parser::parse_pcap
source · pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture<'_>, PcapError<&[u8]>>
Expand description
Parse the entire file
Note: this requires the file to be fully loaded to memory.
pub fn parse_pcap(i: &[u8]) -> IResult<&[u8], PcapCapture<'_>, PcapError<&[u8]>>
Parse the entire file
Note: this requires the file to be fully loaded to memory.