Init()
Initializes the `Packet` with a specified header type and given a payload. The payload buffer @p aPayload should have space reserved before the start of payload for the packet header. Will initialize the header with the given type @p aType. Rest of header fields can be updated after initializing the packet.
Init()
Initializes the `Packet` with a specified header type and given a payload. The payload buffer @p aPayload should have space reserved before the start of payload for the packet header. Will initialize the header with the given type @p aType. Rest of header fields can be updated after initializing the packet.
GetBuffer()
Gets a pointer to buffer containing the packet.
GetBuffer() const
Gets a pointer to buffer containing the packet.
GetLength() const
Gets the length of packet.
Checks whether or not the packet header is valid.
Gets the packet header.
Gets the packet header.
GetPayload()
Gets a pointer to start of packet payload.
GetPayload() const
Gets a pointer to start of packet payload.
GetPayloadLength() const
Gets the payload length.