[#BloombergLP-bdlde-Base64Decoder-endConvert-0bf] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Base64Decoder.adoc[Base64Decoder]::endConvert :relfileprefix: ../../../ :mrdocs: `endConvert` overloads == Synopses Declared in `<bdlde_base64decoder.h>` Terminate decoding for this decoder; write any retained output (e.g., from a previous call to `convert` with a non‐zero optionally specified `maxNumOut` argument) to the specified `out` buffer; encode any unprocessed input characters that do not complete a 3‐byte sequence. The argument `maxNumOut` is the limit on the number of bytes to output; if `maxNumOut` is negative, no limit is imposed. Load into the (optionally) specified `numOut` the number of output bytes produced. Return 0 on success, the positive number of bytes _still_ retained by this decoder if the `maxNumOut` limit was reached, and a negative value otherwise. Any retained bytes are available on a subsequent call to `endConvert`. Once this method is called, no additional input may be supplied without an intervening call to `resetState`; once this method returns a zero status, a subsequent call will place this decoder in the error state, and return an error status. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class OUTPUT_ITERATOR> int xref:BloombergLP/bdlde/Base64Decoder/endConvert-0c.adoc[endConvert](OUTPUT_ITERATOR out); ---- [.small]#xref:BloombergLP/bdlde/Base64Decoder/endConvert-0c.adoc[_» more..._]# Complete decoding and write any retained output bytes to the specified `out` buffer. Load into the optionally specified `numOut` the number of output bytes produced. Optionally specify `maxNumOut` as the limit on the number of bytes to output. Return 0 on success, a positive number of retained bytes if the output limit was reached, and a negative value otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class OUTPUT_ITERATOR> int xref:BloombergLP/bdlde/Base64Decoder/endConvert-0b3.adoc[endConvert]( OUTPUT_ITERATOR out, int* numOut, int maxNumOut = ‐1); ---- [.small]#xref:BloombergLP/bdlde/Base64Decoder/endConvert-0b3.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#