[#BloombergLP-bdlde-Base64Encoder-endConvert-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Base64Encoder.adoc[Base64Encoder]::endConvert
:relfileprefix: ../../../
:mrdocs:

`endConvert` overloads

== Synopses

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

Finish encoding and write any retained output to `out`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class OUTPUT&lowbar;ITERATOR&gt;
int
xref:BloombergLP/bdlde/Base64Encoder/endConvert-08.adoc[endConvert](OUTPUT&lowbar;ITERATOR out);
----

[.small]#xref:BloombergLP/bdlde/Base64Encoder/endConvert-08.adoc[_» more&period;&period;&period;_]#

Finish encoding, writing retained output to `out` with limits&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class OUTPUT&lowbar;ITERATOR&gt;
int
xref:BloombergLP/bdlde/Base64Encoder/endConvert-0c.adoc[endConvert](
    OUTPUT&lowbar;ITERATOR out,
    int* numOut,
    int maxNumOut = &hyphen;1);
----

[.small]#xref:BloombergLP/bdlde/Base64Encoder/endConvert-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

0 if output was successfully completed, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| output iterator for any retained encoded characters
| *numOut*
| receives the number of output bytes produced
| *maxNumOut*
| maximum output bytes to emit&semi; negative means no limit
|===


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