The OpenD Programming Language

UUID.toString

Return the UUID as a string in the canonical form.

  1. void toString(Writer sink)
  2. string toString()
    struct UUID
    @trusted pure nothrow const
    string
    toString
    ()

Examples

immutable str = "8ab3060e-2cba-4f23-b74c-b52db3bdfb46";
auto id = UUID(str);
assert(id.toString() == str);

Meta