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

Converts a `src` string encoded in &quot;web safe&quot; Base64 (RFC 4648 section 5) to its binary equivalent, writing it to a `dest` buffer, returning `true` on success&period; If `src` contains invalid characters, `dest` is cleared and returns `false`&period; If padding is included (note that `WebSafeBase64Escape()` does not produce it), it must be correct&period; In the padding, &apos;&equals;&apos; and &apos;&period;&apos; are treated identically&period;

== Synopsis

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

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

== Return Value

`true` on success, `false` if `src` contains invalid characters&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *src*
| The web&hyphen;safe base64&hyphen;encoded string to decode&period;
| *dest*
| The output string that receives the decoded bytes&period;
|===


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