Return a Base64EncoderOptions object with the specified attributes.
Synopsis
Declared in <bdlde_base64encoderoptions.h>
static
Base64EncoderOptions
custom(
int maxLineLength,
Base64Alphabet::Enum alphabet,
bool padded);
Description
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.
Return Value
a Base64EncoderOptions object with the specified attributes
Parameters
Name |
Description |
maxLineLength |
maximum Base64 characters per line (0 disables) |
alphabet |
alphabet used for encoding |
padded |
whether output is padded with '=' characters |
Created with MrDocs