PxInputStream

Defined in include/foundation/PxIO.h

Inheritance Relationships

Derived Type

class PxInputStream

Input stream class for I/O.

The user needs to supply a PxInputStream implementation to a number of methods to allow the SDK to read data.

Subclassed by PxInputData

Public Functions

virtual uint32_t read(void *dest, uint32_t count) = 0

read from the stream.

The number of bytes read may be less than the number requested.

Parameters
  • dest[in] the destination address to which the data will be read

  • count[in] the number of bytes requested

Returns

the number of bytes read from the stream.

inline virtual ~PxInputStream()