Apache Mesos
Functions | Variables
base64::internal Namespace Reference

Functions

std::string encode (const std::string &s, const std::string &chars, bool padding)
 
Try< std::string > decode (const std::string &s, const std::string &chars)
 

Variables

constexpr char STANDARD_CHARS []
 
constexpr char URL_SAFE_CHARS []
 

Function Documentation

Try<std::string> base64::internal::decode ( const std::string &  s,
const std::string &  chars 
)
inline
std::string base64::internal::encode ( const std::string &  s,
const std::string &  chars,
bool  padding 
)
inline

Variable Documentation

constexpr char base64::internal::STANDARD_CHARS[]
Initial value:
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789+/"
constexpr char base64::internal::URL_SAFE_CHARS[]
Initial value:
=
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
"0123456789-_"