Abstract compressor.
More...
#include <Compressor.h>
| trippingcyril::Compressor::Compressor |
( |
Writer * |
pWriter | ) |
|
Constructor
- Parameters
-
| pWriter | The underlying writer to write the output to |
| virtual trippingcyril::Compressor::~Compressor |
( |
| ) |
|
|
virtual |
General deconstructor
- Note
- ShouldDelete on writer is respected
| Writer* trippingcyril::Compressor::getWriter |
( |
| ) |
const |
|
inline |
- Returns
- The underlying writer
| const uint64_t trippingcyril::Compressor::totalBytesIn |
( |
| ) |
const |
|
inline |
- Returns
- The amount of bytes you fed into the compressor
| virtual int trippingcyril::Compressor::Write |
( |
const char * |
data, |
|
|
size_t |
len |
|
) |
| |
|
pure virtual |
| uint64_t trippingcyril::Compressor::_total_in |
|
protected |
The amount of bytes that we fed into you, you'll have to increase this yourself
| Writer* trippingcyril::Compressor::_writer |
|
protected |
Write your compressed data into this writer
The documentation for this class was generated from the following file: