Important: The information in this document is obsolete and should not be used for new development.
OTBufferDataSize
Obtains the size of the no-copy receive buffer.C INTERFACE
size_t OTBufferDataSize(OTBuffer* buf);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
buf- A pointer to a no-copy receive buffer.
- function result
- The number of bytes in the no-copy receive buffer.
DISCUSSION
Use theOTReadBufferfunction to copy from the buffer referenced by thebufparameter.Use the
OTReleaseBufferfunction to return the no-copy receive buffer to the system..SPECIAL CONSIDERATIONS
This function is available only to PowerPC-native clients; there is no mixed-mode glue for the function, so you must build a fat application in order to use it.