ot::Message::PrependBytes() method
Prepends bytes to the front of the message. On success, this method grows the message by @p aLength bytes.
Arguments
aBuf
A pointer to a data buffer (can be `nullptr` to grow message without writing bytes).
aLength
The number of bytes to prepend.
Return value
kErrorNone Successfully prepended the bytes. kErrorNoBufs Not enough reserved bytes in the message.
ot::Message::PrependBytes() is called by 2 functions and calls 9 functions:
![]()
ot::Message::PrependBytes()
ot::Message::PrependBytes() reads 4 variables:
![]()
ot::Message::PrependBytes()