ot::Trel::Packet::Init() method
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.
Arguments
aPayload
A pointer to a buffer containing the packet payload. Buffer should have space reserved for header before the payload.
aPayloadLength
The length (number of bytes) in the payload only (not including the header).