[#BloombergLP-bdlde-Base64Decoder-maxDecodedLength]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Base64Decoder.adoc[Base64Decoder]::maxDecodedLength
:relfileprefix: ../../../
:mrdocs:

Return the maximum number of decoded bytes for an input of `inputLength`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
maxDecodedLength(int inputLength);
----

== Description

Return the maximum number of decoded bytes that could result from an input byte sequence of the specified `inputLength` provided to the `convert` and `endConvert` methods of this decoder&period; The behavior is undefined unless `0 &lt;&equals; inputLength`&period; Note that the result is independent of which options are provided to the decoder&period;

== Return Value

maximum number of decoded bytes that could result from an input of `inputLength`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *inputLength*
| length in bytes of a prospective Base64 input
|===


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