[#EncodeBase64-0a] = EncodeBase64 :mrdocs: `EncodeBase64` overloads == Synopses Declared in `<util/strencodings.h>` Base64 encode the given string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:EncodeBase64-02.adoc[EncodeBase64](std::string_view str); ---- [.small]#xref:EncodeBase64-02.adoc[_» more..._]# Base64 encode the given bytes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:EncodeBase64-0b.adoc[EncodeBase64](std::span<std::byte const> input); ---- [.small]#xref:EncodeBase64-0b.adoc[_» more..._]# Base64 encode the given bytes. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string xref:EncodeBase64-0c.adoc[EncodeBase64](std::span<unsigned char const> input); ---- [.small]#xref:EncodeBase64-0c.adoc[_» more..._]# == Return Value * The base64 encoding of str. * The base64 encoding of input. == Parameters [cols="1,4"] |=== | Name| Description | *str* | The text to encode. | *input* | The bytes to encode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#