[#BloombergLP-bdlde-HexEncoder]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::HexEncoder
:relfileprefix: ../../
:mrdocs:

This class implements a mechanism capable of converting data of arbitrary length to its corresponding Hex representation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class HexEncoder;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlde/HexEncoder/2constructor.adoc[`HexEncoder`]         [.small]#[constructor]#
| Create a Hex encoder in the initial state&period;
| xref:BloombergLP/bdlde/HexEncoder/convert-06.adoc[`convert`] 
| `convert` overloads
| xref:BloombergLP/bdlde/HexEncoder/endConvert-05.adoc[`endConvert`] 
| `endConvert` overloads
| xref:BloombergLP/bdlde/HexEncoder/isAcceptable.adoc[`isAcceptable`] 
| Return `true` if the input read so far by this encoder is considered syntactically complete, and `false` otherwise&period;
| xref:BloombergLP/bdlde/HexEncoder/isDone.adoc[`isDone`] 
| Return `true` if this encoder is in the done state with no pending output&period;
| xref:BloombergLP/bdlde/HexEncoder/isError.adoc[`isError`] 
| Return `true` if this encoder cannot achieve an acceptable result&period;
| xref:BloombergLP/bdlde/HexEncoder/isInitialState.adoc[`isInitialState`] 
| Return `true` if this encoder is in the initial state (i&period;e&period;, as if no input had been consumed), and `false` otherwise&period;
| xref:BloombergLP/bdlde/HexEncoder/isUpperCase.adoc[`isUpperCase`] 
| Return `true` if this encoder represents values from 10 to 15 as uppercase letters(`A`&hyphen;`F`), and `false` if these values are represented as lowercase letters(`a`&hyphen;`f`)&period;
| xref:BloombergLP/bdlde/HexEncoder/numOutputPending.adoc[`numOutputPending`] 
| Return the number of characters that would be output if `endConvert` were called with no output limit&period;
| xref:BloombergLP/bdlde/HexEncoder/outputLength.adoc[`outputLength`] 
| Return the total length of output emitted by this encoder&period;
| xref:BloombergLP/bdlde/HexEncoder/reset.adoc[`reset`] 
| Reset this encoder to its initial state (i&period;e&period;, as if no input had been consumed)&period;
|===



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