xoreos  0.0.5
Namespaces | Functions | Variables
deflate.h File Reference

Compress (deflate) and decompress (inflate) using zlib's DEFLATE algorithm. More...

#include "src/common/types.h"
Include dependency graph for deflate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Common
 

Functions

byteCommon::decompressDeflate (const byte *data, size_t inputSize, size_t outputSize, int windowBits)
 Decompress (inflate) using zlib's DEFLATE algorithm. More...
 
byteCommon::decompressDeflateWithoutOutputSize (const byte *data, size_t inputSize, size_t &outputSize, int windowBits, unsigned int frameSize=4096)
 Decompress (inflate) using zlib's DEFLATE algorithm without knowing the output size. More...
 
SeekableReadStream * Common::decompressDeflate (ReadStream &input, size_t inputSize, size_t outputSize, int windowBits)
 Decompress (inflate) using zlib's DEFLATE algorithm. More...
 
SeekableReadStream * Common::decompressDeflateWithoutOutputSize (ReadStream &input, size_t inputSize, int windowBits, unsigned int frameSize=4096)
 Decompress (inflate) using zlib's DEFLATE algorithm without knowing the output size. More...
 
size_t Common::decompressDeflateChunk (SeekableReadStream &input, int windowBits, byte *output, size_t outputSize, unsigned int frameSize=4096)
 Decompress (inflate) using zlib's DEFLATE algorithm, until a stream end marker was reached. More...
 

Variables

static const int Common::kWindowBitsMax = 15
 
static const int Common::kWindowBitsMaxRaw = -kWindowBitsMax
 

Detailed Description

Compress (deflate) and decompress (inflate) using zlib's DEFLATE algorithm.

Definition in file deflate.h.