25 #ifndef COMMON_DEFLATE_H 26 #define COMMON_DEFLATE_H 39 class SeekableReadStream;
58 size_t outputSize,
int windowBits);
72 int windowBits,
unsigned int frameSize = 4096);
88 size_t outputSize,
int windowBits);
101 int windowBits,
unsigned int frameSize = 4096);
118 unsigned int frameSize = 4096);
122 #endif // COMMON_DEFLATE_H Generic interface for a readable data stream.
byte * decompressDeflate(const byte *data, size_t inputSize, size_t outputSize, int windowBits)
Decompress (inflate) using zlib's DEFLATE algorithm.
size_t decompressDeflateChunk(SeekableReadStream &input, int windowBits, byte *output, size_t outputSize, unsigned int frameSize)
Decompress (inflate) using zlib's DEFLATE algorithm, until a stream end marker was reached...
static const int kWindowBitsMaxRaw
Low-level type definitions to handle fixed width types portably.
byte * decompressDeflateWithoutOutputSize(const byte *data, size_t inputSize, size_t &outputSize, int windowBits, unsigned int frameSize)
Decompress (inflate) using zlib's DEFLATE algorithm without knowing the output size.
static const int kWindowBitsMax
Interface for a seekable & readable data stream.