[#absl-WebSafeBase64Escape-03]
= xref:absl.adoc[absl]::WebSafeBase64Escape
:relfileprefix: ../
:mrdocs:

Encodes a `src` string into a base64 string, like Base64Escape() does, but outputs &apos;&hyphen;&apos; instead of &apos;&plus;&apos; and &apos;&lowbar;&apos; instead of &apos;&sol;&apos;, and does not pad the output&period; This function conforms with RFC 4648 section 5 (base64url)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
WebSafeBase64Escape(std::string&lowbar;view src);
----

== Return Value

The web&hyphen;safe base64&hyphen;encoded string&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *src*
| The string to encode&period;
|===


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