PxOutputStream
Defined in include/foundation/PxIO.h
-
class PxOutputStream
Output stream class for I/O.
The user needs to supply a PxOutputStream implementation to a number of methods to allow the SDK to write data.
Subclassed by PxDefaultFileOutputStream, PxDefaultMemoryOutputStream
Public Functions
-
virtual uint32_t write(const void *src, uint32_t count) = 0
write to the stream.
The number of bytes written may be less than the number sent.
- Parameters
src – [in] the destination address from which the data will be written
count – [in] the number of bytes to be written
- Returns
the number of bytes written to the stream by this call.
-
inline virtual ~PxOutputStream()
-
virtual uint32_t write(const void *src, uint32_t count) = 0