Create a Quoted‐Printable decoder in the initial state.
Synopsis
Declared in <bdlde_quotedprintabledecoder.h>
explicit
QuotedPrintableDecoder(
bool detectError,
QuotedPrintableDecoder::LineBreakMode lineBreakMode = QuotedPrintableDecoder::e_CRLF_MODE);
Description
Create a Quoted‐Printable decoder in the initial state, set to the strict or relaxed error‐reporting mode according to whether the specified detectError flag is true or false, respectively, and also configured to the specified lineBreakMode. The behavior is undefined unless lineBreakMode is either e_CRLF_MODE or e_LF_MODE. Note that the decoder reports errors in the strict mode and output offending characters in the relaxed mode. Hard line breaks (`\r `) are decoded to `\r ` in e_CRLF_MODE (default) and to `
` in e_LF_MODE.
Parameters
Name |
Description |
detectError |
if |
lineBreakMode |
how hard line breaks ( |
Created with MrDocs