Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_impl
Function · 0.70
print_dict
Function · 0.70
Calls
2
is_binary
Function · 0.85
to_hex
Function · 0.70
Tested by
no test coverage detected