Return the MIME‐style encoded byte length for inputLength.

Synopsis

Declared in <bdlde_base64encoder.h>

static
int
encodedLength(int inputLength);

Description

Return the exact number of encoded bytes that would result from an input byte sequence of the specified inputLength provided to the convert method of an encoder with the maximum allowable line‐length of the output being 76 characters (as recommended by the MIME standard). The behavior is undefined unless 0 <= inputLength.

DEPRECATED: use the overload with options instead.

Return Value

the exact number of encoded bytes for inputLength with MIME line length

Parameters

Name

Description

inputLength

number of input bytes to encode

Created with MrDocs