Converts the input to a hex string.
The input to be converted to a hex string. This can be a string, number, Uint8Array, or a hex string.
The hex string representation of the input.
Throws an error if the input type is not string, number, Uint8Array, or hex string.
Converts the input to a hex string.