This project has retired. For details please refer to its Attic page.
Apache Mesos: base64 Namespace Reference
Apache Mesos
Namespaces | Functions
base64 Namespace Reference

Namespaces

 

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...
 

Function Documentation

Try<std::string> base64::decode ( const std::string &  s )
inline

Decode a string that is Base64-encoded with the standard Base64 alphabet.

See also
RFC4648
Parameters
s The string to decode.
Try<std::string> base64::decode_url_safe ( const std::string &  s )
inline

Decode a string that is Base64-encoded with a URL and filename safe alphabet.

See also
RFC4648
Parameters
s The string to decode.
std::string base64::encode ( const std::string &  s )
inline

Encode a string to Base64 with the standard Base64 alphabet.

See also
RFC4648
Parameters
s The string to encode.
std::string base64::encode_url_safe ( const std::string &  s,
bool  padding = true 
)
inline

Encode a string to Base64 with a URL and filename safe alphabet.

See also
RFC4648
Parameters
s The string to encode.
padding True if padding characters ('=') should be added.

Generated by   doxygen 1.8.11

AltStyle によって変換されたページ (->オリジナル) /