class

Filament::Capture::TruncatedPacketError

Inherits Filament::Capture::PcapError < Exception < Reference < Object

Raised when we hit EOF in the middle of reading a packet header or packet data. This happens with truncated capture files, which are surprisingly common (think: ctrl-c while capturing).

Constructors

new(packet_number : UInt64, expected_bytes : UInt32, actual_bytes : UInt32)
Source

Instance methods

actual_bytes
Source
expected_bytes
Source
packet_number
Source