#include <ZipCompressor.h>
Public Types | |
enum | Constants { cDefaultBufferSize = 2 * 65536 } |
Public Member Functions | |
virtual COptions * | Clone () const =0 |
virtual int | GetType () const =0 |
Public Attributes | |
int | m_iBufferSize |
The base class for compressors options.
Definition at line 123 of file ZipCompressor.h.
Helper constants.
cDefaultBufferSize |
The default size of the buffer used in compression and decompression operations. |
Definition at line 129 of file ZipCompressor.h.
|
pure virtual |
Clones the current options object.
Implemented in ZipArchiveLib::CDeflateCompressor::COptions.
|
pure virtual |
Returns the type of the compressor to which the current options apply.
Implemented in ZipArchiveLib::CDeflateCompressor::COptions.
int CZipCompressor::COptions::m_iBufferSize |
The size of the buffer used in compression and decompression operations. By default it is set to cDefaultBufferSize. For the optimal performance of the deflate algorithm it should be set at least to 128kB.
Definition at line 166 of file ZipCompressor.h.