[#BloombergLP-bdlde-HexEncoder-endConvert-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/HexEncoder.adoc[HexEncoder]::endConvert :relfileprefix: ../../../ :mrdocs: Complete encoding, writing any pending output to `out` subject to `maxNumOut`, and load the number of bytes written into `numOut`. See the preceding overload for full contract details. == Synopsis Declared in `<bdlde_hexencoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class OUTPUT_ITERATOR> int endConvert( OUTPUT_ITERATOR out, int* numOut, int maxNumOut = ‐1); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#