convert overloads
Synopses
Declared in <bdlde_hexencoder.h>
Encode input characters to hexadecimal output.
template<
class OUTPUT_ITERATOR,
class INPUT_ITERATOR>
int
convert(
OUTPUT_ITERATOR out,
INPUT_ITERATOR begin,
INPUT_ITERATOR end);
Encode input characters to hexadecimal 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
a non‐negative value on success, and a negative value otherwise
Parameters
Name |
Description |
out |
destination iterator for encoded output |
begin |
beginning of the input range to encode |
end |
end of the input range (one past the last element) |
numOut |
number of output bytes produced |
numIn |
number of input bytes consumed |
maxNumOut |
maximum output bytes to write; negative means no limit |
Created with MrDocs