1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/llarp/service/address.cpp

15 lines
306 B
C++
Raw Normal View History

2018-07-16 05:32:13 +02:00
#include <llarp/service/address.hpp>
namespace llarp
{
namespace service
{
std::string
Address::ToString() const
{
char tmp[(1 + 32) * 2] = {0};
std::string str = Base32Encode(*this, tmp);
return str + ".loki";
}
} // namespace service
} // namespace llarp