Guitar
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
Base64 Class Reference

#include <base64.h>

Static Public Member Functions

static bool decode_checked (char const *src, size_t length, std::vector< char > *out)
 
static void encode (char const *src, size_t length, std::vector< char > *out)
 
static void decode (char const *src, size_t length, std::vector< char > *out)
 
static std::string _to_s_ (std::vector< char > const *vec)
 
static bool decode_checked (char const *src, size_t length, std::vector< char > *out)
 
static void encode (char const *src, size_t length, std::vector< char > *out)
 
static void decode (char const *src, size_t length, std::vector< char > *out)
 
static std::string _to_s_ (std::vector< char > const *vec)
 

Static Private Member Functions

static unsigned char enc (int c)
 
static unsigned char dec (int c)
 
static unsigned char enc (int c)
 
static unsigned char dec (int c)
 

Static Private Attributes

static unsigned char const PAD = '='
 

Member Function Documentation

◆ _to_s_() [1/2]

static std::string Base64::_to_s_ ( std::vector< char > const *  vec)
inlinestatic

◆ _to_s_() [2/2]

static std::string Base64::_to_s_ ( std::vector< char > const *  vec)
inlinestatic

◆ dec() [1/2]

static unsigned char Base64::dec ( int  c)
inlinestaticprivate

◆ dec() [2/2]

static unsigned char Base64::dec ( int  c)
inlinestaticprivate

◆ decode() [1/2]

static void Base64::decode ( char const *  src,
size_t  length,
std::vector< char > *  out 
)
inlinestatic
Here is the call graph for this function:

◆ decode() [2/2]

static void Base64::decode ( char const *  src,
size_t  length,
std::vector< char > *  out 
)
inlinestatic
Here is the call graph for this function:

◆ decode_checked() [1/2]

static bool Base64::decode_checked ( char const *  src,
size_t  length,
std::vector< char > *  out 
)
inlinestatic
Here is the call graph for this function:

◆ decode_checked() [2/2]

static bool Base64::decode_checked ( char const *  src,
size_t  length,
std::vector< char > *  out 
)
inlinestatic
Here is the call graph for this function:

◆ enc() [1/2]

static unsigned char Base64::enc ( int  c)
inlinestaticprivate

◆ enc() [2/2]

static unsigned char Base64::enc ( int  c)
inlinestaticprivate

◆ encode() [1/2]

static void Base64::encode ( char const *  src,
size_t  length,
std::vector< char > *  out 
)
inlinestatic
Here is the call graph for this function:

◆ encode() [2/2]

static void Base64::encode ( char const *  src,
size_t  length,
std::vector< char > *  out 
)
inlinestatic
Here is the call graph for this function:

Member Data Documentation

◆ PAD

static unsigned char const Base64::PAD = '='
staticprivate

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