MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / WriteString

Method WriteString

libi2pd/RouterInfo.cpp:1525–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1523 }
1524
1525 void LocalRouterInfo::WriteString (const std::string& str, std::ostream& s) const
1526 {
1527 uint8_t len = str.size ();
1528 s.write ((char *)&len, 1);
1529 s.write (str.c_str (), len);
1530 }
1531
1532 std::shared_ptr<RouterInfo::Buffer> LocalRouterInfo::NewBuffer () const
1533 {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected