ot::Message::WriteBytes() method
Writes bytes to the message. Will not resize the message. The given data to write (with @p aLength bytes) MUST fit within the existing message buffer (from the given offset @p aOffset up to the message's length).
Arguments
aOffset
Byte offset within the message to begin writing.
aBuf
A pointer to a data buffer.
aLength
Number of bytes to write.