Return the encoded byte length for inputLength under options.
Declared in <bdlde_base64encoder.h>
static
std::size_t
encodedLength(
EncoderOptions const& options,
std::size_t inputLength);
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 configured with the specified options. The behavior is undefined if inputLength is large enough for the result to overflow a size_t.
the exact number of encoded bytes for inputLength under options
| Name | Description |
|---|---|
| options | encoder configuration used for the length calculation |
| inputLength | number of input bytes to encode |