42 bool isCountingBytes()
const;
43 void setCountingBytesEnabled(
bool shouldCount);
45 qint64 uncompressedSize()
const;
58 void setDecompressedSafetyCheckThreshold(
qint64 threshold);
66 bool isPotentialArchiveBomb()
const;
67 bool hasDataInternal()
const;
75 qint64 encodedBytesAvailable()
const;
83 const qsizetype MaxDecompressedDataBufferSize = 10 * 1024 * 1024;
84 bool decoderHasData =
false;
86 bool countDecompressed =
false;
87 std::unique_ptr<QDecompressHelper> countHelper;
92 qint64 archiveBombCheckThreshold = 10 * 1024 * 1024;
93 qint64 totalUncompressedBytes = 0;
94 qint64 totalCompressedBytes = 0;
99 void *decoderPointer =
nullptr;
101 const uint8_t *brotliUnconsumedDataPtr =
nullptr;
102 size_t brotliUnconsumedAmount = 0;