BeckyPlugin library  2.4
class library for Becky! plugin
公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
base64 クラス

Base64 Encodeing クラス [詳解]

#include <base64.h>

公開メンバ関数

 base64 ()
 コンストラクタ
 
 ‾base64 ()
 デストラクタ
 
const char * Encode (const char *szStr, int iLens=-1)
 
const char * Decode (const char *szStr)
 
int GetLenght () const
 
const char * Get () const
 

静的公開メンバ関数

static void Encode (istream &istr, ostream &ostr, int iRet=76)
 
static void Decode (istream &istr, ostream &ostr)
 
static void Encode (const char *lpszImputFileName, const char *lpszOutputFileName, int iRet=76)
 
static void Decode (const char *lpszImputFileName, const char *lpszOutputFileName)
 

詳解

Base64 Encodeing クラス

関数詳解

◆ Decode() [1/3]

const char * base64::Decode ( const char *  szStr)

デコード(文字列用)

引数
szStr文字列 デコード文字列

◆ Decode() [2/3]

void base64::Decode ( istream &  istr,
ostream &  ostr 
)
static

デコード(ストリーム用)

引数
istr入力ストリーム
ostr出力ストリーム
覚え書き
ostrはバイナリストリーム推奨

◆ Decode() [3/3]

static void base64::Decode ( const char *  lpszImputFileName,
const char *  lpszOutputFileName 
)
inlinestatic

デコード

引数
lpszImputFileName入力ファイル名
lpszOutputFileName出力ファイル名 なし

◆ Encode() [1/3]

const char * base64::Encode ( const char *  szStr,
int  iLens = -1 
)

エンコード(文字列用)。ただし、データの長さを指定すれば、バイナリデータが可能

引数
szStr文字列
iLens長さ エンコード文字列

◆ Encode() [2/3]

void base64::Encode ( istream &  istr,
ostream &  ostr,
int  iRet = 76 
)
static

エンコード(ストリーム用) iRetは、何文字目で改行するか。-1なら、改行しない。

引数
istr入力ストリーム
ostr出力ストリーム
iRet改行位置
覚え書き
istrはバイナリストリーム推奨

◆ Encode() [3/3]

static void base64::Encode ( const char *  lpszImputFileName,
const char *  lpszOutputFileName,
int  iRet = 76 
)
inlinestatic

エンコード

引数
lpszImputFileName入力ファイル名
lpszOutputFileName出力ファイル名
iLens改行位置 なし

◆ Get()

const char* base64::Get ( ) const
inline

文字列用の結果を取得 文字列

◆ GetLenght()

int base64::GetLenght ( ) const
inline

長さの取得 出力された長さ


このクラス詳解は次のファイルから抽出されました: