Skip to content

Group xMessageBufferNextLengthBytes

Modules > xMessageBufferNextLengthBytes


Detailed Description

message_buffer.h Returns the length (in bytes) of the next message in a message buffer. Useful if xMessageBufferReceive() returned 0 because the size of the buffer passed into xMessageBufferReceive() was too small to hold the next message.


  • xMessageBuffer The handle of the message buffer being queried.


The length (in bytes) of the next message in the message buffer, or 0 if the message buffer is empty.