MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / Write

Method Write

base/LoopBuffer.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37int CLoopBuffer::Write(const char* str, int len) {
38 if (str == nullptr) {
39 return 0;
40 }
41 return _Write(str, len, true);
42}
43
44int CLoopBuffer::Clear(int len) {
45 if (len == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected