📄 util_base64coder.h
字号:
// UTIL_Base64Coder.h: interface for the UTIL_Base64Coder class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_UTIL_BASE64CODER_H__01D40BD3_89C7_4C95_8299_6E05796DE71C__INCLUDED_)
#define AFX_UTIL_BASE64CODER_H__01D40BD3_89C7_4C95_8299_6E05796DE71C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class UTIL_Base64Coder
{
public:
UTIL_Base64Coder();
virtual ~UTIL_Base64Coder();
virtual bool Decode(const CByteArray& source, CByteArray& destination);
virtual bool Decode(const CString& source, CByteArray& destination);
virtual bool Encode(const CByteArray& source, CByteArray& destination);
virtual bool Encode(const CByteArray& source, CString& destination);
virtual bool Encode(const char *source, int len, CString& destination);
private:
// Don't allow canonical behavior (i.e. don't allow this class
// to be passed by value)
UTIL_Base64Coder(const UTIL_Base64Coder&) {}
UTIL_Base64Coder& operator = (const UTIL_Base64Coder&) { return (*this); }
protected:
BYTE m_DecoderTable[256];
virtual void m_InitializeDecoderTable(void);
};
#endif // !defined(AFX_UTIL_BASE64CODER_H__01D40BD3_89C7_4C95_8299_6E05796DE71C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -