⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bzip2.h

📁 含有多种公开密钥算法、多种块加密、多种数据流加密、多种HASH函数、多种CheckSum校验、多种MAC校验等几十种加密算法的程序
💻 H
字号:
/************************************************** Bzip Compressor Header File                    ** (C) 1999-2002 The Botan Project                **************************************************/#include <botan/filter.h>#ifndef BOTAN_EXT_BZIP2_H__#define BOTAN_EXT_BZIP2_H__namespace Botan {class Bzip_Compression : public Filter   {   public:      void write(const byte input[], u32bit length);      void start_msg();      void end_msg();      void flush();      Bzip_Compression(u32bit l = 9) : level((l >= 9) ? 9 : l)         { ready = false; bz = 0; }      ~Bzip_Compression() { clear(); }   private:      static const u32bit BUFFERSIZE = DEFAULT_BUFFERSIZE;      const u32bit level;      void clear();      SecureBuffer<byte, BUFFERSIZE> buffer;      struct bz_stream_wrapper* bz;      bool ready;   };class Bzip_Decompression : public Filter   {   public:      void write(const byte input[], u32bit length);      void start_msg();      void end_msg();      Bzip_Decompression(bool s = false) : small_mem(s)         { no_writes = true; bz = 0;}      ~Bzip_Decompression() { clear(); }   private:      static const u32bit BUFFERSIZE = DEFAULT_BUFFERSIZE;      const bool small_mem;      void clear();      SecureBuffer<byte, BUFFERSIZE> buffer;      struct bz_stream_wrapper* bz;      bool no_writes;   };// DEPRECATED ALIASEStypedef Bzip_Compression Bzip_Compress;typedef Bzip_Decompression Bzip_Decompress;}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -