#include <compression.h>
Definition at line 81 of file compression.h.
virtual Botan::Decompression_Algorithm::~Decompression_Algorithm |
( |
| ) |
|
|
virtualdefault |
virtual void Botan::Decompression_Algorithm::clear |
( |
| ) |
|
|
pure virtual |
Reset the state and abort the current message; start can be called again to process a new message.
Implemented in Botan::Stream_Decompression.
std::unique_ptr< Decompression_Algorithm > Botan::Decompression_Algorithm::create_or_throw |
( |
const std::string & |
algo_spec | ) |
|
|
static |
Create an instance based on a name
- Parameters
-
Definition at line 106 of file compression.cpp.
References create().
112 throw Lookup_Error(
"Decompression", algo,
"");
static std::unique_ptr< Decompression_Algorithm > create(const std::string &algo_spec)
virtual void Botan::Decompression_Algorithm::finish |
( |
secure_vector< uint8_t > & |
final_block, |
|
|
size_t |
offset = 0 |
|
) |
| |
|
pure virtual |
Finish decompressing
- Parameters
-
final_block | in/out parameter |
offset | an offset into final_block to begin processing |
Implemented in Botan::Stream_Decompression.
virtual std::string Botan::Decompression_Algorithm::name |
( |
| ) |
const |
|
pure virtual |
virtual void Botan::Decompression_Algorithm::start |
( |
| ) |
|
|
pure virtual |
Begin decompressing. Decompression does not support levels, as compression does.
virtual void Botan::Decompression_Algorithm::update |
( |
secure_vector< uint8_t > & |
buf, |
|
|
size_t |
offset = 0 |
|
) |
| |
|
pure virtual |
Process some data.
- Parameters
-
buf | in/out parameter which will possibly be resized or swapped |
offset | an offset into blocks to begin processing |
Implemented in Botan::Stream_Decompression.
The documentation for this class was generated from the following files: