Ulid.fromUuid
Converts a UUID with the same 128-bit value. Every UUID is a valid ULID bit pattern, although its first 48 bits are only a meaningful timestamp if it was made from a ULID (or is a version 7 UUID).
Parameters
uuid | the UUID to convert. |
Returns
the ULID with the same bytes.