Complete decoding and flush retained output to out with limits.
Declared in <bdlde_base64decoder.h>
template<class OUTPUT_ITERATOR>
int
endConvert(
OUTPUT_ITERATOR out,
int* numOut,
int maxNumOut = -1);
Terminate decoding for this decoder; write any retained output to the specified out buffer. The argument maxNumOut is the limit on the number of bytes to output; if maxNumOut is negative, no limit is imposed. Load into the (optionally) specified numOut the number of output bytes produced. Return 0 on success, a positive number of retained bytes if the output limit was reached, and a negative value otherwise. See the preceding overload for full contract details.
0 on success, a positive number of retained bytes if the output limit was reached, and a negative value otherwise
| Name | Description |
|---|---|
| out | destination for any retained decoded bytes |
| numOut | if non-null, receives the number of bytes written |
| maxNumOut | maximum bytes to write; negative means no limit |