Botan 2.1.0 Crypto and TLS for C++11

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

bzip2.h
Go to the documentation of this file.
1 /*
2 * Bzip2 Compressor
3 * (C) 2001 Peter J Jones
4 * 2001-2007,2014 Jack Lloyd
5 *
6 * Botan is released under the Simplified BSD License (see license.txt)
7 */
8
9 #ifndef BOTAN_BZIP2_H__
10 #define BOTAN_BZIP2_H__
11
12 #include <botan/compression.h>
13
14 namespace Botan {
15
16 /**
17 * Bzip2 Compression
18 */
19 class BOTAN_DLL Bzip2_Compression final : public Stream_Compression
20 {
21 public:
22 std::string name() const override { return "Bzip2_Compression"; }
23 private:
24 Compression_Stream* make_stream(size_t comp_level) const override;
25 };
26
27 /**
28 * Bzip2 Deccompression
29 */
30 class BOTAN_DLL Bzip2_Decompression final : public Stream_Decompression
31 {
32 public:
33 std::string name() const override { return "Bzip2_Decompression"; }
34 private:
35 Compression_Stream* make_stream() const override;
36 };
37
38 }
39
40 #endif
Botan::Bzip2_Decompression
Definition: bzip2.h:30
Botan::Compression_Stream
Definition: compression.h:109
Botan::Stream_Decompression
Definition: compression.h:155
Botan::Stream_Compression
Definition: compression.h:132
Botan::Bzip2_Compression::name
std::string name() const override
Definition: bzip2.h:22
Botan::Bzip2_Decompression::name
std::string name() const override
Definition: bzip2.h:33
Botan
Definition: alg_id.cpp:13
Botan::Bzip2_Compression
Definition: bzip2.h:19