Pcapex.Packet (pcapex v0.0.4)

Link to this section Summary

Link to this section Types

Specs

t() :: %Pcapex.Packet{
  data: binary(),
  original_size: pos_integer(),
  timestamp_usec: pos_integer()
}

Link to this section Functions

Link to this function

from_hex(hex_data, timestamp_usec, original_size \\ nil)

Specs

from_hex(binary(), pos_integer(), pos_integer() | nil) :: t()
Link to this function

new(data, timestamp_usec, original_size \\ nil)

Specs

new(binary(), pos_integer(), pos_integer() | nil) :: t()