[#EncodeBase32-0e]
= EncodeBase32
:mrdocs:

Base32 encode&period; If `pad` is true, then the output will be padded with &apos;&equals;&apos; so that its length is a multiple of 8&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
EncodeBase32(
    std::span&lt;unsigned char const&gt; input,
    bool pad = true);
----

== Return Value

The base32 encoding of input&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| The bytes to encode&period;
| *pad*
| Whether to pad the output with &apos;&equals;&apos; to a multiple of 8 characters&period;
|===


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