convert overloads
Synopses
Declared in <bdlde_hexdecoder.h>
Decode hexadecimal input characters into binary output.
template<
class OUTPUT_ITERATOR,
class INPUT_ITERATOR>
int
convert(
OUTPUT_ITERATOR out,
INPUT_ITERATOR begin,
INPUT_ITERATOR end);
Decode hexadecimal input characters into binary output with limits.
template<
class OUTPUT_ITERATOR,
class INPUT_ITERATOR>
int
convert(
OUTPUT_ITERATOR out,
int* numOut,
int* numIn,
INPUT_ITERATOR begin,
INPUT_ITERATOR end,
int maxNumOut = ‐1);
Return Value
0 on success, and a negative value otherwise
Parameters
Name |
Description |
out |
output iterator for decoded bytes |
begin |
beginning of the input range |
end |
end of the input range (exclusive) |
numOut |
receives the number of output bytes produced |
numIn |
receives the number of input bytes consumed |
maxNumOut |
maximum output bytes to emit; negative means no limit |
Created with MrDocs