Function openthread_sys::otMessageAppend
source ยท pub unsafe extern "C" fn otMessageAppend(
aMessage: *mut otMessage,
aBuf: *const c_void,
aLength: u16,
) -> otError
Expand description
Append bytes to a message.
@param[in] aMessage A pointer to a message buffer. @param[in] aBuf A pointer to the data to append. @param[in] aLength Number of bytes to append.
@retval OT_ERROR_NONE Successfully appended to the message @retval OT_ERROR_NO_BUFS No available buffers to grow the message.
@sa otMessageFree @sa otMessageGetLength @sa otMessageSetLength @sa otMessageGetOffset @sa otMessageSetOffset @sa otMessageRead @sa otMessageWrite