ExPcap.PacketData

This module represents the body of a packet.

Source

Summary

from_file(f, global_header, packet_header)

Reads the packet body from the file

read_forward(data, packet_header)

This function reads the body of a packet

read_reversed(data, packet_header)

This function reads the body of a packet reversing the bytes along the way

Types

t :: %ExPcap.PacketData{data_len: non_neg_integer, data: binary}

Functions

from_file(f, global_header, packet_header)

Specs:

Reads the packet body from the file.

Source
read_forward(data, packet_header)

Specs:

This function reads the body of a packet.

Source
read_reversed(data, packet_header)

Specs:

This function reads the body of a packet reversing the bytes along the way.

Source