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

📄 pipeline.h

📁 通訊保密編碼library project code.完整library project code!
💻 H
字号:
#ifndef PIPELINE_H
#define PIPELINE_H

#include "cryptlib.h"

// if you change this next constant, be sure to change the constructor as well.
const int PIPELINE_MAX_FILTERS=10;

class Pipeline : public BufferedTransformation
{
public:
    Pipeline(BufferedTransformation * , BufferedTransformation * =0,
             BufferedTransformation * =0, BufferedTransformation * =0,
             BufferedTransformation * =0, BufferedTransformation * =0,
             BufferedTransformation * =0, BufferedTransformation * =0,
             BufferedTransformation * =0, BufferedTransformation * =0);

    virtual ~Pipeline();

    unsigned long MaxRetrieveable();
    void Close();

    void Put(byte inByte);
    void Put(const byte *inString, unsigned int length);

    int Get(byte &outByte);
    unsigned int Get(byte *outString, unsigned int getMax);

private:
    BufferedTransformation* filterList[PIPELINE_MAX_FILTERS];
    int filterNumber;
};

#endif

⌨️ 快捷键说明

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