ARC SDK
Public Member Functions | Static Public Member Functions
Arc::Base64 Class Reference

Base64 encoding and decoding. More...

#include <arc/Base64.h>

Public Member Functions

 Base64 ()
 Constructor is not implemented. Use static methods instead. More...
 

Static Public Member Functions

static std::string encode (const std::string &bufplain)
 Encode a string to base 64. More...
 
static std::string decode (const std::string &bufcoded)
 Decode a string from base 64. More...
 
static int encode_len (int len)
 
static int encode (char *encoded, const char *string, int len)
 Encode a string to base 64. More...
 
static int decode_len (const char *bufcoded)
 
static int decode (char *bufplain, const char *bufcoded)
 Decode a string from base 64. More...
 

Detailed Description

Base64 encoding and decoding.

Constructor & Destructor Documentation

Arc::Base64::Base64 ( )

Constructor is not implemented. Use static methods instead.

Member Function Documentation

static std::string Arc::Base64::decode ( const std::string &  bufcoded)
static

Decode a string from base 64.

Since
Added in 3.0.1.
static int Arc::Base64::decode ( char *  bufplain,
const char *  bufcoded 
)
static

Decode a string from base 64.

Deprecated:
Use decode(std::string&) instead
static std::string Arc::Base64::encode ( const std::string &  bufplain)
static

Encode a string to base 64.

Since
Added in 3.0.1.
static int Arc::Base64::encode ( char *  encoded,
const char *  string,
int  len 
)
static

Encode a string to base 64.

Deprecated:
Use encode(std::string&) instead

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