NumberConverterInterface
interface NumberConverterInterface (View source)
NumberConverterInterface converts UUIDs from hexadecimal characters into representations of integers and vice versa
Methods
mixed
fromHex(string $hex)
Converts a hexadecimal number into an integer representation of the number
string
toHex(mixed $integer)
Converts an integer representation into a hexadecimal string representation of the number
Details
at line 32
mixed
fromHex(string $hex)
Converts a hexadecimal number into an integer representation of the number
The integer representation returned may be an object or a string representation of the integer, depending on the implementation.
at line 43
string
toHex(mixed $integer)
Converts an integer representation into a hexadecimal string representation of the number