Creates a new instance of FirestoreIdBase
String containing all the individual digits of the base in order
Radix of the base (amount of digits in the base)
Converts a char to its integer value
Char to convert
The integer in base 10 represented by the char
Compare two strings representing numbers.
It's a lexicographic comparison meaning that it compares the digits one by one instead of the number represented.
Left number
Right number
Compare two strings representing numbers.
Left number
Right number
LERP of a starting number to an ending number
LERP stands for Linear intERPolation
Starting number
Ending number
Nominator of the LERP ratio. Must be an integer
Denominator of the LERP ratio. Must be an integer
The LERPed value
LERP of a starting number to an ending number lexicographically.
If the two numbers do not have the same amount of chars, it pads them with the lowest value of the base
LERP stands for Linear intERPolation
Starting number
Ending number
Nominator of the LERP ratio. Must be an integer
Denominator of the LERP ratio. Must be an integer
The LERPed value
Converts a string to the integer it represents.
String to convert
Value of the string
Converts an integer to its char value
Value to convert
Whether or not to clamp the value to the base if it's out of bound. if unset and out of bound it throws.
The char representing the value
Converts a value to the string representing it in this base
Value to convert
String representing the value
Converter of firestorm ids to integers