11#include "wvencoderstream.h"
83 struct z_stream_s *zstr;
90 void prepare(WvBuf *inbuf);
91 bool process(WvBuf &outbuf,
bool flush,
bool finish);
bool finish(WvBuf &outbuf)
Tells the encoder that NO MORE DATA will ever be encoded.
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
An encoder implementing Gzip encryption and decryption.
size_t out_limit
Limit the amount of output produced in one call to encode().
WvGzipEncoder(Mode mode, size_t _out_limit=0)
Creates a Gzip encoder.
virtual bool _finish(WvBuf &outbuf)
Template method implementation of finish().
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)
Template method implementation of encode().
bool ignore_decompression_errors
Continue decompression if errors are found.
bool full_flush
Do full flushes.
virtual bool _reset()
Template method implementation of reset().
The in place raw memory buffer type.