pub unsafe extern "C" fn otMessageSetLength(
aMessage: *mut otMessage,
aLength: u16,
) -> otError
Expand description
Set the message length in bytes.
@param[in] aMessage A pointer to a message buffer. @param[in] aLength A length in bytes.
@retval OT_ERROR_NONE Successfully set the message length. @retval OT_ERROR_NO_BUFS No available buffers to grow the message.
@sa otMessageFree @sa otMessageAppend @sa otMessageGetLength @sa otMessageGetOffset @sa otMessageSetOffset @sa otMessageRead @sa otMessageWrite