MCPcopy Create free account
hub / github.com/baidu/babylon / to_string

Method to_string

test/logging/test_log_entry.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 ::std::string to_string(::std::vector<struct ::iovec>& iov) {
27 ::std::string s;
28 for (auto one_iov : iov) {
29 s.append(static_cast<char*>(one_iov.iov_base), one_iov.iov_len);
30 }
31 return s;
32 }
33
34 void release(::std::vector<struct ::iovec>& iov) {
35 for (auto one_iov : iov) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected