Deflate compressor. More...

#include <zlib_compression.h>

Public Types

enum  CompressionMode {
  default_strategy, filtered, huffman_only, rle,
  fixed
}
 

Static Public Member Functions

static DataBuffer compress (const DataBuffer &data, bool raw=true, int compression_level=6, CompressionMode mode=default_strategy)
 
static DataBuffer decompress (const DataBuffer &data, bool raw=true)
 

Detailed Description

Deflate compressor.

Member Function Documentation

static DataBuffer clan::ZLibCompression::compress ( const DataBuffer data,
bool  raw = true,
int  compression_level = 6,
CompressionMode  mode = default_strategy 
)
static
static DataBuffer clan::ZLibCompression::decompress ( const DataBuffer data,
bool  raw = true 
)
static

The documentation for this class was generated from the following file: