[#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 `<bdlde_base64encoder.h>` 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‐length of the output being 76 characters (as recommended by the MIME standard). The behavior is undefined unless `0 <= inputLength`. [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..._]# 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`. The behavior is undefined unless `0 <= inputLength` and `0 <= maxLineLength`. Note that if `maxLineLength` is 0, no CRLF characters will appear in the output. Note also that the number of encoded bytes need not be the number of _output_ bytes. [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..._]# 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`. The behavior is undefined if `inputLength` is large enough for the result to overflow a `size_t`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::size_t xref:BloombergLP/bdlde/Base64Encoder/encodedLength-0b.adoc[encodedLength]( xref:BloombergLP/bdlde/Base64Encoder.adoc[EncoderOptions] const& options, std::size_t inputLength); ---- [.small]#xref:BloombergLP/bdlde/Base64Encoder/encodedLength-0b.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#