View Source UlidFlake.Scalable (ulid_flake v1.0.0)
Ulid-Flake is a compact 64-bit ULID variant inspired by ULID and Twitter's Snowflake, with an additional scalability identifier.
Summary
Functions
Returns a specification to start this module under a supervisor.
Creates a Ulid-Flake instance with scalability from an integer.
Creates a Ulid-Flake instance from a Base32 string.
Generates a new Ulid-Flake identifier with scalability.
Parses a Base32-encoded Ulid-Flake identifier with scalability.
Returns the randomness component of the Ulid-Flake identifier with scalability.
Returns the scalability ID component of the Ulid-Flake identifier.
Returns the timestamp component of the Ulid-Flake identifier with scalability.
Returns the Base32 string representation of the Ulid-Flake identifier with scalability.
Returns the binary string representation of the Ulid-Flake identifier with scalability.
Returns the hexadecimal string representation of the Ulid-Flake identifier with scalability.
Returns the integer representation of the Ulid-Flake identifier with scalability.
Returns the Base32 string representation of the Ulid-Flake identifier with scalability.
Alias for to_base32/1
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Creates a Ulid-Flake instance with scalability from an integer.
Creates a Ulid-Flake instance from a Base32 string.
Generates a new Ulid-Flake identifier with scalability.
Parses a Base32-encoded Ulid-Flake identifier with scalability.
Returns the randomness component of the Ulid-Flake identifier with scalability.
Returns the scalability ID component of the Ulid-Flake identifier.
Returns the timestamp component of the Ulid-Flake identifier with scalability.
Returns the Base32 string representation of the Ulid-Flake identifier with scalability.
Returns the binary string representation of the Ulid-Flake identifier with scalability.
Returns the hexadecimal string representation of the Ulid-Flake identifier with scalability.
Returns the integer representation of the Ulid-Flake identifier with scalability.
Returns the Base32 string representation of the Ulid-Flake identifier with scalability.
Alias for to_base32/1