Base64 encode/decode.
More...
#include <Base64.h>
List of all members.
Public Member Functions |
| Base64 () |
void | encode (FILE *, std::string &, bool add_crlf=true) |
void | encode (const std::string &, std::string &, bool add_crlf=true) |
void | encode (const char *, size_t, std::string &, bool add_crlf=true) |
void | encode (unsigned char *, size_t, std::string &, bool add_crlf=true) |
void | decode (const std::string &, std::string &) |
void | decode (const std::string &, unsigned char *, size_t &) |
size_t | decode_length (const std::string &) |
| Base64 () |
void | encode (FILE *, std::string &, bool add_crlf=true) |
void | encode (const std::string &, std::string &, bool add_crlf=true) |
void | encode (const char *, size_t, std::string &, bool add_crlf=true) |
void | encode (unsigned char *, size_t, std::string &, bool add_crlf=true) |
void | decode (const std::string &, std::string &) |
void | decode (const std::string &, unsigned char *, size_t &) |
size_t | decode_length (const std::string &) |
Private Member Functions |
| Base64 (const Base64 &) |
Base64 & | operator= (const Base64 &) |
| Base64 (const Base64 &) |
Base64 & | operator= (const Base64 &) |
Static Private Attributes |
static char * | bstr |
static char | rstr [128] |
Detailed Description
Base64 encode/decode.
Definition at line 48 of file Base64.h.
Constructor & Destructor Documentation
Member Function Documentation
void Base64::decode |
( |
const std::string & |
, |
|
|
unsigned char * |
, |
|
|
size_t & |
|
|
) |
| |
void Base64::decode |
( |
const std::string & |
, |
|
|
unsigned char * |
, |
|
|
size_t & |
|
|
) |
| |
void Base64::encode |
( |
const std::string & |
, |
|
|
std::string & |
, |
|
|
bool |
add_crlf = true |
|
) |
| |
void Base64::encode |
( |
const std::string & |
, |
|
|
std::string & |
, |
|
|
bool |
add_crlf = true |
|
) |
| |
void Base64::encode |
( |
const char * |
, |
|
|
size_t |
, |
|
|
std::string & |
, |
|
|
bool |
add_crlf = true |
|
) |
| |
void Base64::encode |
( |
const char * |
, |
|
|
size_t |
, |
|
|
std::string & |
, |
|
|
bool |
add_crlf = true |
|
) |
| |
void Base64::encode |
( |
unsigned char * |
, |
|
|
size_t |
, |
|
|
std::string & |
, |
|
|
bool |
add_crlf = true |
|
) |
| |
void Base64::encode |
( |
unsigned char * |
, |
|
|
size_t |
, |
|
|
std::string & |
, |
|
|
bool |
add_crlf = true |
|
) |
| |
Base64& Base64::operator= |
( |
const Base64 & |
| ) |
[inline, private] |
Base64& Base64::operator= |
( |
const Base64 & |
| ) |
[inline, private] |
Member Data Documentation
The documentation for this class was generated from the following files: