Ulid.toString
string toString() const @safe pure nothrowReturns
the canonical text form, in a new GC-allocated string.
void toString(W)(ref W sink) if (isOutputRange!(W, char)) constWrites the canonical text form to an output range without allocating. This is the overload std.format and writeln use.
Parameters
sink | an output range of char, such as an Appender!string or a void delegate(scope const(char)[]). |