Return the encoded line count for inputLength under options.
Declared in <bdlde_base64encoder.h>
static
std::size_t
encodedLines(
EncoderOptions const& options,
std::size_t inputLength);
Return the exact number of encoded lines 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 to overflow the result.
the exact number of encoded lines for inputLength under options
| Name | Description |
|---|---|
| options | encoder configuration used for the line calculation |
| inputLength | number of input bytes to encode |