libCZI
Reading CZI documents made easy
libCZI::IStream Class Referenceabstract

#include <libCZI.h>

Public Member Functions

virtual void Read (std::uint64_t offset, void *pv, std::uint64_t size, std::uint64_t *ptrBytesRead)=0
 

Detailed Description

Interface used for accessing the data-stream.

Member Function Documentation

◆ Read()

virtual void libCZI::IStream::Read ( std::uint64_t  offset,
void *  pv,
std::uint64_t  size,
std::uint64_t *  ptrBytesRead 
)
pure virtual

Reads the specified amount of data from the stream at the specified position.

Parameters
offsetThe offset to start reading from.
[out]pvThe caller-provided buffer for the data. Must be non-null.
sizeThe size of the buffer.
[out]ptrBytesReadIf non-null, the variable pointed to will receive the number of bytes actually read.

The documentation for this class was generated from the following file: