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

This class implements a mechanism capable of converting data of arbitrary length to its corresponding Quoted&hyphen;Printable representation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class QuotedPrintableEncoder;
----

== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/EquivalenceClass.adoc[`EquivalenceClass`] 
| The input equivalence classes used by the encoder&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/LineBreakMode-0d.adoc[`LineBreakMode`] 
| Configuration governing how various forms of line breaks are interpreted while encoding&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/2constructor-01.adoc[`QuotedPrintableEncoder`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/2destructor.adoc[`&#126;QuotedPrintableEncoder`] [.small]#[destructor]#
| Destroy this object&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/convert.adoc[`convert`] 
| Encode input characters from `&lsqb;begin, end)&rsqb;` into Quoted&hyphen;Printable&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/endConvert.adoc[`endConvert`] 
| Finish encoding and write any retained output to `out`&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/isAccepting.adoc[`isAccepting`] 
| Return `true` if the input read so far by this encoder is considered syntactically complete, and `false` otherwise&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/isDone.adoc[`isDone`] 
| Return whether encoding is done and further input is an error&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/isError.adoc[`isError`] 
| Return whether this encoder is in an unrecoverable error state&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/isInitialState.adoc[`isInitialState`] 
| Return `true` if this encoder is in the initial state (i&period;e&period;, as if no input had been consumed), and `false` otherwise&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/lineBreakMode-09.adoc[`lineBreakMode`] 
| Return the line break mode configured at the construction of this encoder&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/maxLineLength.adoc[`maxLineLength`] 
| Return the value for the maximum line length configured at the construction of this encoder&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/numOutputPending.adoc[`numOutputPending`] 
| Return the number of characters that would be output if `endConvert` were called with no output limit&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/outputLength.adoc[`outputLength`] 
| Return the total number of output bytes emitted so far&period;
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/reset.adoc[`reset`] 
| Reset this encoder to its initial state (i&period;e&period;, as if no input had been consumed)&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlde/QuotedPrintableEncoder/lineBreakModeToAscii.adoc[`lineBreakModeToAscii`] 
| Return the string representation exactly matching the enumerator name corresponding to the specified enumerator `mode`&period;
|===



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