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

📄 base64.h

📁 该段源码是用VC实现了BASE64算法
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -