PublicKey.toString - multiple declarations

Function PublicKey.toString

Uses Stellar's representation instead of hex

string toString() nothrow @trusted const;

Function PublicKey.toString

Make sure the sink overload of BitBlob is not picked

void toString (
  scope void delegate(in char[]) sink
) @trusted const;

Example

immutable address = `boa1xrra39xpg5q9zwhsq6u7pw508z2let6dj8r5lr4q0d0nff240fvd27yme3h`;
PublicKey pubkey = PublicKey.fromString(address);

import std.array : appender;
import std.format : formattedWrite;
auto writer = appender!string();
writer.formattedWrite("%s", pubkey);
assert(writer.data() == address);