[#absl-Base64Escape-05]
= xref:absl.adoc[absl]::Base64Escape
:relfileprefix: ../
:mrdocs:

`Base64Escape` overloads

== Synopses

Declared in `&lt;absl&sol;strings&sol;escaping&period;h&gt;`

Encodes a `src` string into a base64&hyphen;encoded string with padding characters&period; This function conforms with RFC 4648 section 4 (base64) and RFC 2045&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
xref:absl/Base64Escape-0c.adoc[Base64Escape](std::string&lowbar;view src);
----

[.small]#xref:absl/Base64Escape-0c.adoc[_» more&period;&period;&period;_]#

Deprecated overload of `Base64Escape()` that writes to a `dest` buffer&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated(&quot;Use the string&hyphen;returning version of Base64Escape()&quot;)&rsqb;&rsqb;
void
xref:absl/Base64Escape-0b.adoc[Base64Escape](
    std::string&lowbar;view src,
    std::string* dest);
----

[.small]#xref:absl/Base64Escape-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

The base64&hyphen;encoded string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *src*
| The string to encode&period;
| *dest*
| The output string that receives the base64&hyphen;encoded result&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
