Class ParseDataHeader

Class Documentation

class ParseDataHeader

Parser for the data header.

Is required before the other complete udp packet parsers. It will return which data packages are enabled and therefore the other parsers can be used accordingly.

Public Functions

ParseDataHeader()

Constructor of the parser.

datastructure::DataHeader parseUDPSequence(const datastructure::PacketBuffer &buffer, datastructure::Data &data) const

Parses the data header from a udp sequence.

Parameters
  • buffer – The complete udp packet.

  • data – The already parsed data used for checks.

Returns

The parsed data header.