MCPcopy Create free account
hub / github.com/arvidn/libtorrent / print_string

Function print_string

src/entry.cpp:690–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688 }
689
690 std::string print_string(std::string const& str)
691 {
692 if (is_binary(str)) return aux::to_hex(str);
693 else return str;
694 }
695
696 void add_indent(std::string& out, int const indent)
697 {

Callers 2

to_string_implFunction · 0.70
print_dictFunction · 0.70

Calls 2

is_binaryFunction · 0.85
to_hexFunction · 0.70

Tested by

no test coverage detected