gloox
0.9.9.12
|
#include <compressionzlib.h>
Public Member Functions | |
CompressionZlib (CompressionDataHandler *cdh) | |
virtual | ~CompressionZlib () |
virtual void | compress (const std::string &data) |
virtual void | decompress (const std::string &data) |
Public Member Functions inherited from CompressionBase | |
CompressionBase (CompressionDataHandler *cdh) | |
virtual | ~CompressionBase () |
An implementation of CompressionBase using zlib.
Definition at line 42 of file compressionzlib.h.
CompressionZlib | ( | CompressionDataHandler * | cdh | ) |
Contructor.
cdh | The CompressionDataHandler to receive de/compressed data. |
Definition at line 22 of file compressionzlib.cpp.
|
virtual |
Virtual Destructor.
Definition at line 47 of file compressionzlib.cpp.
|
virtual |
Compresses the given chunk of data.
data | The original (uncompressed) data. |
Implements CompressionBase.
Definition at line 53 of file compressionzlib.cpp.
|
virtual |
Decompresses the given chunk of data.
data | The compressed data. |
Implements CompressionBase.
Definition at line 84 of file compressionzlib.cpp.