OTReleaseBuffer
Returns the no-copy receive buffer to the system.C INTERFACE
void OTReleaseBuffer(OTBuffer* buf);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
buf- A pointer to the no-copy receive buffer to be released.
DESCRIPTION
Once a no-copy receive is completed, you need to release theOTBufferstructure as quickly as possible by calling this function.VALID STATES
AllSEE ALSO
TheOTBufferfunction (page 3-98) obtains the size of the no-copy receive buffer and theOTReadBuffer(page 3-99) function reads from this buffer.The no-copy receive buffer structure is described by the
OTBufferdata type (page 3-53).