interface PcapFile

Decoded representation of a complete pcap capture file.

Type Parameters

THeader

The decoded global-header type. Defaults to the plain PcapGlobalHeader; refining the header coder lets callers substitute a richer shape.

TRecord

The decoded record type. Defaults to PcapRecord.

Properties

Global header parsed from the file's first 24 bytes.

All records present in the remainder of the buffer.

Usage

import { type PcapFile } from ".";