Base64Escape overloads
Declared in <absl/strings/escaping.h>
Encodes a src string into a base64-encoded string with padding characters. This function conforms with RFC 4648 section 4 (base64) and RFC 2045.
std::string
Base64Escape(std::string_view src);
» more...
Deprecated overload of Base64Escape() that writes to a dest buffer.
[[deprecated("Use the string-returning version of Base64Escape()")]]
void
Base64Escape(
std::string_view src,
std::string* dest);
» more...
The base64-encoded string.
| Name | Description |
|---|---|
| src | The string to encode. |
| dest | The output string that receives the base64-encoded result. |