[#absl-Base64Escape-05] = xref:absl.adoc[absl]::Base64Escape :relfileprefix: ../ :mrdocs: `Base64Escape` overloads == Synopses 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:absl/Base64Escape-0c.adoc[Base64Escape](std::string_view src); ---- [.small]#xref:absl/Base64Escape-0c.adoc[_» more..._]# Deprecated overload of `Base64Escape()` that writes to a `dest` buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated("Use the string‐returning version of Base64Escape()")]] void xref:absl/Base64Escape-0b.adoc[Base64Escape]( std::string_view src, std::string* dest); ---- [.small]#xref:absl/Base64Escape-0b.adoc[_» more..._]# == Return Value The base64‐encoded string. == Parameters [cols="1,4"] |=== | Name| Description | *src* | The string to encode. | *dest* | The output string that receives the base64‐encoded result. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#