Apache Mesos
|
Namespaces | |
internal | |
Functions | |
std::string | encode (const std::string &s) |
Encode a string to Base64 with the standard Base64 alphabet. More... | |
Try< std::string > | decode (const std::string &s) |
Decode a string that is Base64-encoded with the standard Base64 alphabet. More... | |
std::string | encode_url_safe (const std::string &s, bool padding=true) |
Encode a string to Base64 with a URL and filename safe alphabet. More... | |
Try< std::string > | decode_url_safe (const std::string &s) |
Decode a string that is Base64-encoded with a URL and filename safe alphabet. More... | |
|
inline |
Decode a string that is Base64-encoded with the standard Base64 alphabet.
s | The string to decode. |
|
inline |
Decode a string that is Base64-encoded with a URL and filename safe alphabet.
s | The string to decode. |
|
inline |
Encode a string to Base64 with the standard Base64 alphabet.
s | The string to encode. |
|
inline |
Encode a string to Base64 with a URL and filename safe alphabet.
s | The string to encode. |
padding | True if padding characters ('=') should be added. |