61 bool deleteSourceWhenDestroyed,
62 Format sourceFormat = zlibFormat,
63 int64 uncompressedStreamLength = -1);
76 int64 getPosition()
override;
77 bool setPosition (
int64 pos)
override;
78 int64 getTotalLength()
override;
79 bool isExhausted()
override;
80 int read (
void* destBuffer,
int maxBytesToRead)
override;
85 const int64 uncompressedStreamLength;
88 int activeBufferSize = 0;
89 int64 originalSourcePos, currentPos = 0;
Very simple container class to hold a pointer to some data on the heap.
Holds a pointer to an object which can optionally be deleted when this pointer goes out of scope.
long long int64
A platform-independent 64-bit integer type.