SPA_ZLibCompressor
SPA_ZLibCompressor
spa
1998 12-06
CLASS
SPA_ZLibCompressor - C++ compressor
SYNOPSIS
This is a compressor class implemented using the ZLib compression library.
COMPILATION NOTES
This class requires that the preprocessor macro SPA_HAVE_ZLIB be defined.
Also, the include path to zlib.h must be specified on the compile line.
Use of this class requires linkage to the ZLib compression library.
PARENTS
MEMBER FUNCTIONS
void SetLevel(int l)
Set the compression level. Use -1 for the ZLib library default or the
values 1 through 9. The value 9 compresses to the smallest size
while 1 compresses the fastest. The default setting for this class is
-1.
int GetLevel()
Get the current compression level.