MCPcopy Create free account
hub / github.com/apache/brpc / Flush

Method Flush

src/butil/binary_printer.cpp:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename Appender>
46void BinaryCharPrinter<Appender>::Flush() {
47 if (_n > 0) {
48 _appender->Append(_buf, _n);
49 _n = 0;
50 }
51}
52
53template <typename Appender>
54void BinaryCharPrinter<Appender>::PushChar(unsigned char c) {

Callers 2

PrintIOBufFunction · 0.45
PrintStringFunction · 0.45

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected