Skip to content

volight/UlidFs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UlidFs

.NET NuGet MIT binary

Ulid implementation in F#

Usage

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)

Slid

Short version of Ulid (x64)

  • layout
    rrr             tttttttttt
    
    |-|           |-------------|
    Randomness       Timestamp
    16bits             48bits
    3 characters   10 characters
    |---------------------------|
                64bits
             13 characters
    

Other

spec

Releases

No releases published

Packages

No packages published