BloombergLP::bdlde::Base64Decoder::endConvert

endConvert overloads

Synopses

Declared in <bdlde_base64decoder.h>

Complete decoding and flush any retained output to out.

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

Complete decoding and flush retained output to out with limits.

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

Return Value

  • 0 on success, a positive number of retained bytes if an output limit was reached, and a negative value otherwise
  • 0 on success, a positive number of retained bytes if the output limit was reached, and a negative value otherwise

Parameters

NameDescription
outdestination for any retained decoded bytes
numOutif non-null, receives the number of bytes written
maxNumOutmaximum bytes to write; negative means no limit