BloombergLP::bdlde::HexEncoder::endConvert

endConvert overloads

Synopses

Declared in <bdlde_hexencoder.h>

Terminate encoding and write any retained output.

template<class OUTPUT_ITERATOR>
int
endConvert(OUTPUT_ITERATOR out);
» more...

Complete encoding with an output count and limit.

template<class OUTPUT_ITERATOR>
int
endConvert(
    OUTPUT_ITERATOR out,
    int* numOut,
    int maxNumOut = -1);
» more...

Return Value

a non-negative value on success (characters that would be output if called again with no limit), and a negative value otherwise

Parameters

NameDescription
outdestination iterator for any retained output
numOutnumber of output bytes produced
maxNumOutmaximum output bytes to write; negative means no limit