BloombergLP::bdlde::QuotedPrintableEncoder

This class implements a mechanism capable of converting data of arbitrary length to its corresponding Quoted-Printable representation.

Synopsis

Declared in <bdlde_quotedprintableencoder.h>

class QuotedPrintableEncoder;

Enums

NameDescription
EquivalenceClass The input equivalence classes used by the encoder.
LineBreakMode Configuration governing how various forms of line breaks are interpreted while encoding.

Member Functions

NameDescription
QuotedPrintableEncoder [constructor]Constructors
~QuotedPrintableEncoder [destructor]Destroy this object.
convert Encode input characters from [begin, end)] into Quoted-Printable.
endConvert Finish encoding and write any retained output to out.
isAccepting Return true if the input read so far by this encoder is considered syntactically complete, and false otherwise.
isDone Return whether encoding is done and further input is an error.
isError Return whether this encoder is in an unrecoverable error state.
isInitialState Return true if this encoder is in the initial state (i.e., as if no input had been consumed), and false otherwise.
lineBreakMode Return the line break mode configured at the construction of this encoder.
maxLineLength Return the value for the maximum line length configured at the construction of this encoder.
numOutputPending Return the number of characters that would be output if endConvert were called with no output limit.
outputLength Return the total number of output bytes emitted so far.
reset Reset this encoder to its initial state (i.e., as if no input had been consumed).

Static Member Functions

NameDescription
lineBreakModeToAscii Return the string representation exactly matching the enumerator name corresponding to the specified enumerator mode.