65 bool deleteSourceWhenDestroyed,
66 Format sourceFormat = zlibFormat,
67 int64 uncompressedStreamLength = -1);
80 int64 getPosition()
override;
81 bool setPosition (int64 pos)
override;
82 int64 getTotalLength()
override;
83 bool isExhausted()
override;
84 int read (
void* destBuffer,
int maxBytesToRead)
override;
89 const int64 uncompressedStreamLength;
92 int activeBufferSize = 0;
93 int64 originalSourcePos, currentPos = 0;
97 std::unique_ptr<GZIPDecompressHelper> helper;
99 #if JUCE_CATCH_DEPRECATED_CODE_MISUSE
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.
#define JUCE_API
This macro is added to all JUCE public class declarations.