PayloadParser protocol
This protocol indicates a module that is aware of how to convert binary data to a parsed packet.
Summary↑
from_data(data) | Parses the body of a packet into a new packet (presumably of another protocol) For example a UDP packet body may contain a DNS packet |
Types ↑
t :: any
Functions
Specs:
- from_data(binary) :: any
Parses the body of a packet into a new packet (presumably of another protocol) For example a UDP packet body may contain a DNS packet.