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

Class RedisStringPrinter

src/brpc/redis_reply.cpp:277–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277class RedisStringPrinter {
278public:
279 RedisStringPrinter(const char* str, size_t length)
280 : _str(str, length) {}
281 void Print(std::ostream& os) const;
282private:
283 butil::StringPiece _str;
284};
285
286static std::ostream&
287operator<<(std::ostream& os, const RedisStringPrinter& printer) {

Callers 1

PrintMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected