pipeline.h
来自「各种加密算法的集合」· C头文件 代码 · 共 34 行
H
34 行
#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 &amt;outByte);
unsigned int Get(byte *outString, unsigned int getMax);
private:
BufferedTransformation* filterList[PIPELINE_MAX_FILTERS];
int filterNumber;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?