[#BloombergLP-bdlde-Base64Encoder-encodedLength-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Base64Encoder.adoc[Base64Encoder]::encodedLength
:relfileprefix: ../../../
:mrdocs:

`encodedLength` overloads

== Synopses

Declared in `&lt;bdlde&lowbar;base64encoder&period;h&gt;`

Return the MIME&hyphen;style encoded byte length for `inputLength`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Base64Encoder/encodedLength-04.adoc[encodedLength](int inputLength);
----

[.small]#xref:BloombergLP/bdlde/Base64Encoder/encodedLength-04.adoc[_» more&period;&period;&period;_]#

Return the encoded byte length for `inputLength` and `maxLineLength`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Base64Encoder/encodedLength-05.adoc[encodedLength](
    int inputLength,
    int maxLineLength);
----

[.small]#xref:BloombergLP/bdlde/Base64Encoder/encodedLength-05.adoc[_» more&period;&period;&period;_]#

Return the encoded byte length for `inputLength` under `options`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::size&lowbar;t
xref:BloombergLP/bdlde/Base64Encoder/encodedLength-0b.adoc[encodedLength](
    xref:BloombergLP/bdlde/Base64Encoder.adoc[EncoderOptions] const& options,
    std::size&lowbar;t inputLength);
----

[.small]#xref:BloombergLP/bdlde/Base64Encoder/encodedLength-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

* the exact number of encoded bytes for `inputLength` with MIME line length
* the exact number of encoded bytes for `inputLength` and `maxLineLength`
* the exact number of encoded bytes for `inputLength` under `options`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *inputLength*
| number of input bytes to encode
| *maxLineLength*
| maximum encoded line length before a soft break
| *options*
| encoder configuration used for the length calculation
|===


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