BloombergLP::bdlde::QuotedPrintableEncoder::QuotedPrintableEncoder

Constructors

Synopses

Declared in <bdlde_quotedprintableencoder.h>

Create a Quoted-Printable encoder with optional line-break settings.

explicit
QuotedPrintableEncoder(
    LineBreakMode lineBreakMode = e_CRLF_MODE,
    int maxLineLength = k_DEFAULT_MAX_LINELEN,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a Quoted-Printable encoder with extra characters to encode.

explicit
QuotedPrintableEncoder(
    char const* extraCharsToEncode,
    LineBreakMode lineBreakMode = e_CRLF_MODE,
    int maxLineLength = k_DEFAULT_MAX_LINELEN,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
lineBreakModehow hard line breaks in the input are handled
maxLineLengthmaximum output line length before a soft break
basicAllocatorallocator used to supply memory
extraCharsToEncodeprintable/whitespace chars always encoded as "=XX"