wvlet.airframe.ulid
package wvlet.airframe.ulid
Members list
Concise view
Type members
Classlikes
object CrockfordBase32
Base 32 encoding by Douglas Crockford: https://www.crockford.com/base32.html
Base 32 encoding by Douglas Crockford: https://www.crockford.com/base32.html
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- CrockfordBase32.type
object PrefixedULID
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- PrefixedULID.type
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait Ordered[PrefixedULID]trait Comparable[PrefixedULID]class Objecttrait Matchableclass Any
object ULID
ULID generator implementation based on https://github.com/petitviolet/ulid4s
ULID generator implementation based on https://github.com/petitviolet/ulid4s
ULID has 128 bit value: |-- Unix timestamp milliseconds (48-bit) ---- | ----- random value (80 bits) ------ |
The string representation of ULID uses 26 characters in Crockford Base 32 representation, each character of which represents 5-bit value (0-31).