[#BloombergLP-bdlde-QuotedPrintableEncoder-2constructor-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/QuotedPrintableEncoder.adoc[QuotedPrintableEncoder]::QuotedPrintableEncoder
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a Quoted&hyphen;Printable encoder with optional line&hyphen;break settings&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlde/QuotedPrintableEncoder/2constructor-0d.adoc[QuotedPrintableEncoder](
    xref:BloombergLP/bdlde/QuotedPrintableEncoder/LineBreakMode-0d.adoc[LineBreakMode] lineBreakMode = e&lowbar;CRLF&lowbar;MODE,
    int maxLineLength = k&lowbar;DEFAULT&lowbar;MAX&lowbar;LINELEN,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlde/QuotedPrintableEncoder/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Create a Quoted&hyphen;Printable encoder with extra characters to encode&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlde/QuotedPrintableEncoder/2constructor-00.adoc[QuotedPrintableEncoder](
    char const* extraCharsToEncode,
    xref:BloombergLP/bdlde/QuotedPrintableEncoder/LineBreakMode-0d.adoc[LineBreakMode] lineBreakMode = e&lowbar;CRLF&lowbar;MODE,
    int maxLineLength = k&lowbar;DEFAULT&lowbar;MAX&lowbar;LINELEN,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlde/QuotedPrintableEncoder/2constructor-00.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lineBreakMode*
| how hard line breaks in the input are handled
| *maxLineLength*
| maximum output line length before a soft break
| *basicAllocator*
| allocator used to supply memory
| *extraCharsToEncode*
| printable&sol;whitespace chars always encoded as &quot;&equals;XX&quot;
|===


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