ot::Message::SetLength() method
Sets the number of bytes in the message.
Arguments
aLength
Requested number of bytes in the message.
Return value
kErrorNone Successfully set the length of the message. kErrorNoBufs Failed to grow the size of the message because insufficient buffers were available.
ot::Message::SetLength() is called by 7 functions and calls 4 functions:
![]()
ot::Message::SetLength()
ot::Message::SetLength() reads 2 variables and writes 2 variables:
![]()
ot::Message::SetLength()