readBytes
Reads from the data buffer and copies the data to a destination buffer provided by the caller.
Declaration
virtual bool readBytes(
void *dstBuffer,
UInt32 *dstBufferSize,
UInt32 readOffset = 0) const;Parameters
- dstBuffer:
Pointer to the destination buffer.
- dstBufferSize:
Pointer to an integer containing the size of the destination buffer. And is overwritten by this method with the actual number of bytes copied to the destination buffer.
- readOffset:
A byte offset from the start of the data buffer to begin reading.
Return Value
Returns true if the operation was successful, false otherwise.