10 #include "wvencoder.h"
11 #include "wvencoderstream.h"
83 struct z_stream_s *zstr;
90 void prepare(
WvBuf *inbuf);
An encoder implementing Gzip encryption and decryption.
virtual bool _finish(WvBuf &outbuf)
Template method implementation of finish().
bool full_flush
Do full flushes.
virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf, bool flush)
Template method implementation of encode().
The in place raw memory buffer type.
virtual bool _reset()
Template method implementation of reset().
Specialization of WvBufBase for unsigned char type buffers intended for use with raw memory buffers.
bool ignore_decompression_errors
Continue decompression if errors are found.
size_t out_limit
Limit the amount of output produced in one call to encode().
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.
WvGzipEncoder(Mode mode, size_t _out_limit=0)
Creates a Gzip encoder.