A gzip implementation of the Decompressor interface.
More...
#include <Decompressor.h>
A gzip implementation of the Decompressor interface.
| trippingcyril::GZipDecompressor::GZipDecompressor |
( |
Writer * |
pWriter | ) |
|
Constructor
- Parameters
-
| pWriter | The underlying writer to write the output to |
- Exceptions
-
| std::runtime_error | In case initializing zlib goes wrong |
| virtual trippingcyril::GZipDecompressor::~GZipDecompressor |
( |
| ) |
|
|
virtual |
General deconstructor
- Note
- ShouldDelete on writer is respected
| int trippingcyril::GZipDecompressor::Write |
( |
const char * |
data, |
|
|
size_t |
len |
|
) |
| |
|
overridevirtual |
Feed data into the decompressor to decompress
- Parameters
-
| data | The actual data to decompress |
| len | The length of the data to decompress |
- Returns
- Amount of uncompressed bytes
Implements trippingcyril::Decompressor.
The documentation for this class was generated from the following file: