A number converter converts UUIDs from hexadecimal characters into representations of integers and vice versa
public
fromHex(string $hex): numeric-string
Converts a hexadecimal number into a string integer representation of the number
The integer representation returned is a string representation of the integer to accommodate unsigned integers that are greater than PHP_INT_MAX.
PHP_INT_MAX
The hexadecimal string representation to convert
String representation of an integer
toHex(string $number): non-empty-string
Converts a string integer representation into a hexadecimal string representation of the number
A string integer representation to convert; this must be a numeric string to accommodate unsigned integers that are greater than PHP_INT_MAX.
Hexadecimal string