[#BloombergLP-bdlde-Base64Decoder-endConvert-0b3] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Base64Decoder.adoc[Base64Decoder]::endConvert :relfileprefix: ../../../ :mrdocs: Complete decoding and flush retained output to `out` with limits. == Synopsis Declared in `<bdlde_base64decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class OUTPUT_ITERATOR> int endConvert( OUTPUT_ITERATOR out, int* numOut, int maxNumOut = ‐1); ---- == Description Terminate decoding for this decoder; write any retained output to the specified `out` buffer. 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, a positive number of retained bytes if the output limit was reached, and a negative value otherwise. See the preceding overload for full contract details. == Return Value 0 on success, a positive number of retained bytes if the output limit was reached, and a negative value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *out* | destination for any retained decoded bytes | *numOut* | if non‐null, receives the number of bytes written | *maxNumOut* | maximum bytes to write; negative means no limit |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#