encodedLength overloads
Synopses
Declared in <bdlde_base64encoder.h>
Return the MIME‐style encoded byte length for inputLength.
static
int
encodedLength(int inputLength);
Return the encoded byte length for inputLength and maxLineLength.
static
int
encodedLength(
int inputLength,
int maxLineLength);
Return the encoded byte length for inputLength under options.
static
std::size_t
encodedLength(
EncoderOptions const& options,
std::size_t inputLength);
Return Value
-
the exact number of encoded bytes for
inputLengthwith MIME line length -
the exact number of encoded bytes for
inputLengthandmaxLineLength -
the exact number of encoded bytes for
inputLengthunderoptions
Parameters
Name |
Description |
inputLength |
number of input bytes to encode |
maxLineLength |
maximum encoded line length before a soft break |
options |
encoder configuration used for the length calculation |
Created with MrDocs