[#BloombergLP-bdlde-Base64EncoderOptions-custom]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Base64EncoderOptions.adoc[Base64EncoderOptions]::custom
:relfileprefix: ../../../
:mrdocs:

Return a `Base64EncoderOptions` object with the specified attributes&period;

== Synopsis

Declared in `&lt;bdlde&lowbar;base64encoderoptions&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlde/Base64EncoderOptions.adoc[Base64EncoderOptions]
custom(
    int maxLineLength,
    xref:BloombergLP/bdlde/Base64Alphabet/Enum.adoc[Base64Alphabet::Enum] alphabet,
    bool padded);
----

== Description

Return a `Base64EncoderOptions` object having the specified `maxLineLength`, `alphabet`, and `isPadded` attribute values&period; The behavior is undefined unless `0 &lt;&equals; maxLineLength` and `alphabet` is a defined value of `Base64Alphabet&colon;&colon;Enum`&period;

== Return Value

a `Base64EncoderOptions` object with the specified attributes

== Parameters

[cols="1,4"]
|===
| Name| Description
| *maxLineLength*
| maximum Base64 characters per line (0 disables)
| *alphabet*
| alphabet used for encoding
| *padded*
| whether output is padded with &apos;&equals;&apos; characters
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
