casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
Base64 Class Reference

Base64 encode/decode. More...

#include <Base64.h>

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 &)
 

Private Member Functions

 Base64 (const Base64 &)
 
Base64operator= (const Base64 &)
 

Static Private Attributes

static const char * bstr
 
static const char rstr [128]
 

Detailed Description

Base64 encode/decode.

Definition at line 48 of file Base64.h.

Constructor & Destructor Documentation

Base64::Base64 ( )
Base64::Base64 ( const Base64 )
inlineprivate

Definition at line 64 of file Base64.h.

Member Function Documentation

void Base64::decode ( const std::string &  ,
std::string &   
)
void Base64::decode ( const std::string &  ,
unsigned char *  ,
size_t &   
)
size_t Base64::decode_length ( const std::string &  )
void Base64::encode ( FILE *  ,
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 ( unsigned char *  ,
size_t  ,
std::string &  ,
bool  add_crlf = true 
)
Base64& Base64::operator= ( const Base64 )
inlineprivate

Definition at line 65 of file Base64.h.

Member Data Documentation

const char* Base64::bstr
staticprivate

Definition at line 66 of file Base64.h.

const char Base64::rstr[128]
staticprivate

Definition at line 67 of file Base64.h.


The documentation for this class was generated from the following file: