| 86 | |
| 87 | |
| 88 | void QuotedPrintableEncoderBuf::writeRaw(char c) |
| 89 | { |
| 90 | if (c == '\r' || c == '\n') |
| 91 | { |
| 92 | _ostr.put(c); |
| 93 | _lineLength = 0; |
| 94 | } |
| 95 | else if (_lineLength < 75) |
| 96 | { |
| 97 | _ostr.put(c); |
| 98 | ++_lineLength; |
| 99 | } |
| 100 | else |
| 101 | { |
| 102 | _ostr << "=\r\n" << c; |
| 103 | _lineLength = 1; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | |
| 108 | int QuotedPrintableEncoderBuf::close() |
no test coverage detected