Ulid implementation in F#
open Volight.Ulid
let id = Ulid.NewUlid()
let id = ulid()
let str = id.ToString()
let guid = id.ToGuid()
let id = Ulid.Parse(str)
let id = Ulid(str)
let success = Ulid.TryParse(str, &id)
let id = Slid.NewSlid()
let id = slid()
let str = id.ToString()
let id = Slid.Parse(str)
let id = Slid(str)
let success = Slid.TryParse(str, &id)
Short version of Ulid (x64)
- layout
rrr tttttttttt |-| |-------------| Randomness Timestamp 16bits 48bits 3 characters 10 characters |---------------------------| 64bits 13 characters