code.h

来自「linux 上http email 协议分析程序 主要能够处理大数据量的主干网」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef _CODE_FILE_H
#define _CODE_FILE_H


class CBase64 
{
public:
	CBase64();
	~CBase64();
	int Decode(char * szDecoding,int inLen, char * szOutput,int obufLen);
	void Encode( char * szEncoding, char * szOutput );

protected:
	void write_bits( unsigned int nBits, int nNumBts, char * szOutput, int& lp );
	unsigned int read_bits( int nNumBits, int* pBitsRead, int& lp );

	int m_nInputSize;
	int m_nBitsRemaining;
	unsigned long m_lBitStorage;
	char * m_szInput;

	static int m_nMask[];
	static char * m_sBase64Alphabet;
private:
};


class CQprint
{
public:
        CQprint();
        ~CQprint();

        int Decode( char * szEncoding,int inLen, char *szOutput,int obufLen);
        void Encode( char * szDecoding, char * szOutput );
private:
        static char *m_sNA;
};


#endif

⌨️ 快捷键说明

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