BloombergLP::bdlde::HexDecoder

This class implements a mechanism capable of converting data of arbitrary length from its corresponding Hex representation.

Synopsis

Declared in <bdlde_hexdecoder.h>

class HexDecoder;

Member Functions

NameDescription
HexDecoder [constructor]Create a Hex decoder in the initial state.
convert convert overloads
endConvert Terminate encoding for this decoder. Return 0 on success, and a negative value otherwise.
isAcceptable Return true if input so far is complete and fully emitted.
isDone Return true if this decoder is in the done state.
isError Return true if this decoder has encountered an irrecoverable error.
isInitialState Return true if this decoder is in the initial state (i.e., as if no input had been consumed) and false otherwise.
isMaximal Return true if the input to this decoder is maximal.
outputLength Return the total length of output emitted by this decoder.
reset Reset this decoder to its initial state (i.e., as if no input had been consumed).