Companion
object Companion
Functions
Link copied to clipboard
Decode ULID from Base32 encoded string.
Link copied to clipboard
fun randomULID(timestamp: Long = Clock.System.now().toEpochMilliseconds(), random: SecureRandomGenerator = Companion.random): ULID
Generates a new random ULID from timestamp(ms). If the timestamp omitted, current time will be used.