Botan

Zlib Compressor

License
Botan is released under the Simplified BSD License (see LICENSE.md)

abstract class  ZlibCompression: botan.filters.filter.Filter, botan.filters.filter.Filterable;

Zlib Compression Filter


void  finished();

Flush the compressor


this(size_t level = 6, bool raw_deflate = false);

Parameters
size_t level how much effort to use on compressing (0 to 9); higher levels are slower but tend to give better compression
bool raw_deflate if true no m_zlib header/trailer will be used

abstract class  Zlib_Decompression: botan.filters.filter.Filter, botan.filters.filter.Filterable;

Zlib Decompression Filter


class  Zlib_Stream;

Wrapper Type for Zlib z_stream


z_stream*  m_stream;

Underlying  m_stream


this();

Constructor