Return a Base64EncoderOptions object with the specified attributes.
Declared in <bdlde_base64encoderoptions.h>
static
Base64EncoderOptions
custom(
int maxLineLength,
Base64Alphabet::Enum alphabet,
bool padded);
Return a Base64EncoderOptions object having the specified maxLineLength, alphabet, and isPadded attribute values. The behavior is undefined unless 0 <= maxLineLength and alphabet is a defined value of Base64Alphabet::Enum.
a Base64EncoderOptions object with the specified attributes
| Name | Description |
|---|---|
| maxLineLength | maximum Base64 characters per line (0 disables) |
| alphabet | alphabet used for encoding |
| padded | whether output is padded with '=' characters |