Converts a byte array to a hex string.
Hex string representation of the byte array.
Whether to prefix the hex string with 0x.