Decode Base64 input for char * / const char * iterators.
Declared in <bdlde_base64decoder.h>
template<>
int
convert<char*, char const*>(
char* out,
int* numOut,
int* numIn,
char const* begin,
char const* end,
int maxNumOut = -1);
Specialization of convert optimized for contiguous char buffers. See the primary convert template for full contract details.
non-negative value on success, -1 on input error, and -2 if endConvert has already been called without an intervening resetState
| Name | Description |
|---|---|
| out | destination for decoded output bytes |
| numOut | receives the number of bytes written |
| numIn | receives the number of input bytes consumed |
| begin | beginning of the Base64 input range |
| end | end of the Base64 input range (exclusive) |
| maxNumOut | maximum bytes to write; negative means no limit |