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

Function ThriftMessageBeginSize

src/brpc/policy/thrift_protocol.cpp:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107inline size_t ThriftMessageBeginSize(const std::string& method_name) {
108 return 12 + method_name.size();
109}
110
111static void
112WriteThriftMessageBegin(char* buf,

Callers 2

DoRunMethod · 0.85
SerializeThriftRequestFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected