ULID.fromString

creates ULID from a previously string encoded ULID

struct ULID
static @nogc
fromString
(
string str
)

Examples

import fluent.asserts;

static ubyte gen()
{
    return 4;
}

ULID decoded = ULID.fromString("01ARYZ6S410G2081040G208104");
ULID.generate(1469918176385, &gen).should.equal(decoded);

Meta