[#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 exact number of encoded bytes that would result from an input byte sequence of the specified `inputLength` provided to the `convert` method of an encoder with the maximum allowable line&hyphen;length of the output being 76 characters (as recommended by the MIME standard)&period; The behavior is undefined unless `0 &lt;&equals; 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 exact number of encoded bytes that would result from an input byte sequence of the specified `inputLength` provided to the `convert` method of an encoder configured with the specified `maxLineLength`&period; The behavior is undefined unless `0 &lt;&equals; inputLength` and `0 &lt;&equals; maxLineLength`&period; Note that if `maxLineLength` is 0, no CRLF characters will appear in the output&period; Note also that the number of encoded bytes need not be the number of _output_ bytes&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 exact number of encoded bytes that would result from an input byte sequence of the specified `inputLength` provided to the `convert` method of an encoder configured with the specified `options`&period; The behavior is undefined if `inputLength` is large enough for the result to overflow a `size&lowbar;t`&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;_]#


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