[#EncodeBase64-0a]
= EncodeBase64
:mrdocs:

`EncodeBase64` overloads

== Synopses

Declared in `&lt;util&sol;strencodings&period;h&gt;`

Base64 encode the given string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
xref:EncodeBase64-02.adoc[EncodeBase64](std::string&lowbar;view str);
----

[.small]#xref:EncodeBase64-02.adoc[_» more&period;&period;&period;_]#

Base64 encode the given bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
xref:EncodeBase64-0b.adoc[EncodeBase64](std::span&lt;std::byte const&gt; input);
----

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

Base64 encode the given bytes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
xref:EncodeBase64-0c.adoc[EncodeBase64](std::span&lt;unsigned char const&gt; input);
----

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

== Return Value

* The base64 encoding of str&period;
* The base64 encoding of input&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *str*
| The text to encode&period;
| *input*
| The bytes to encode&period;
|===


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