Encodes a src string into a base64‐encoded string with padding characters. This function conforms with RFC 4648 section 4 (base64) and RFC 2045.
Synopsis
Declared in <absl/strings/escaping.h>
std::string
Base64Escape(std::string_view src);
Return Value
The base64‐encoded string.
Parameters
Name |
Description |
src |
The string to encode. |
Created with MrDocs