base64.h
来自「该段源码是用VC实现了BASE64算法」· C头文件 代码 · 共 28 行
H
28 行
// Base64.h: CBase64 类定义.
//
#ifndef _BASE64_H__INCLUDED
#define _BASE64_H__INCLUDED
// class CBase64
class CBase64
{
public:
CBase64();
virtual ~CBase64();
virtual int Decode( LPCTSTR szDecoding, LPTSTR szOutput );
virtual CString Encode(LPCTSTR szEncoding,int nSize);
protected:
void WriteBits( UINT nBits, LPTSTR szOutput, int& lp );
UINT ReadBits( int* pBitsRead, int& lp );
int m_nInputSize;
int m_nBitsRemaining;
ULONG m_lBitStorage;
LPCTSTR m_szInput;
static CString m_sBase64Alphabet;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?