Botan
2.1.0
Crypto and TLS for C++11
|
#include <compression.h>
Public Member Functions | |
void | clear () finaloverride |
void | finish (secure_vector< uint8_t > &buf, size_t offset) finaloverride |
virtual std::string | name () const =0 |
void | update (secure_vector< uint8_t > &buf, size_t offset) finaloverride |
FIXME add doc
Definition at line 155 of file compression.h.
|
finaloverridevirtual |
Reset the state and abort the current message; start can be called again to process a new message.
Implements Botan::Decompression_Algorithm.
Definition at line 118 of file compress_utils.cpp.
|
finaloverridevirtual |
Finish decompressing
final_block | in/out parameter |
offset | an offset into final_block to begin processing |
Implements Botan::Decompression_Algorithm.
Definition at line 180 of file compress_utils.cpp.
References Botan::Decompression_Algorithm::name().
|
pure virtualinherited |
Implemented in Botan::Gzip_Decompression, Botan::Deflate_Decompression, Botan::LZMA_Decompression, Botan::Bzip2_Decompression, and Botan::Zlib_Decompression.
Referenced by finish().
|
finaloverridevirtual |
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 |
Implements Botan::Decompression_Algorithm.
Definition at line 175 of file compress_utils.cpp.