HalfUlid Class
- Namespace
- SatorImaging.HUlid
public static class HalfUlid
Half-ULID (HUlid) is a 64-bit (long) shrinked version of ULID. Max 2,097,152 of IDs can be created for every milliseconds.
- Inheritance
-
HalfUlid
Fields
Properties
Methods
- Init(int, int)
Initialize creation time used for subsequent Next(int) or Random() calls.
- New(bool)
Set creation date and generate new Half-ULID. (shorthand for
Init(); Next/Random();
)
- Next(int)
Generate sequential Half-ULID value.
- Random()
Generate Half-ULID using random number and sequential value.