MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / writeRaw

Method writeRaw

base/poco/Net/src/QuotedPrintableEncoder.cpp:88–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87
88void 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
108int QuotedPrintableEncoderBuf::close()

Callers 3

sendBytesMethod · 0.45
IPAddress.cppFile · 0.45
shutdownMethod · 0.45

Calls 1

putMethod · 0.45

Tested by

no test coverage detected