Botan
2.1.0
Crypto and TLS for C++11
|
#include <zlib.h>
Public Member Functions | |
void | clear () finaloverride |
void | finish (secure_vector< uint8_t > &buf, size_t offset) finaloverride |
Gzip_Compression (uint8_t os_code=255) | |
std::string | name () const override |
void | update (secure_vector< uint8_t > &buf, size_t offset, bool flush) finaloverride |
|
inline |
|
finaloverridevirtualinherited |
Reset the state and abort the current message; start can be called again to process a new message.
Implements Botan::Compression_Algorithm.
Definition at line 55 of file compress_utils.cpp.
Referenced by Botan::Stream_Compression::finish().
|
finaloverridevirtualinherited |
Finish compressing
final_block | in/out parameter |
offset | an offset into final_block to begin processing |
Implements Botan::Compression_Algorithm.
Definition at line 111 of file compress_utils.cpp.
References BOTAN_ASSERT, and Botan::Stream_Compression::clear().
|
inlineoverridevirtual |
Implements Botan::Compression_Algorithm.
|
finaloverridevirtualinherited |
Process some data. Input must be in size update_granularity() uint8_t blocks.
buf | in/out parameter which will possibly be resized or swapped |
offset | an offset into blocks to begin processing |
flush | if true the compressor will be told to flush state |
Implements Botan::Compression_Algorithm.
Definition at line 105 of file compress_utils.cpp.
References BOTAN_ASSERT.