Return the maximum number of decoded bytes for an input of inputLength.
Synopsis
Declared in <bdlde_base64decoder.h>
static
int
maxDecodedLength(int inputLength);
Description
Return the maximum number of decoded bytes that could result from an input byte sequence of the specified inputLength provided to the convert and endConvert methods of this decoder. The behavior is undefined unless 0 <= inputLength. Note that the result is independent of which options are provided to the decoder.
Return Value
maximum number of decoded bytes that could result from an input of inputLength
Parameters
Name |
Description |
inputLength |
length in bytes of a prospective Base64 input |
Created with MrDocs