Decode a hexadecimal encoded string. A value that starts with the UTF-8 byte order mark and contains valid UTF-8 is decoded as UTF-8 text, all other values are decoded as one character per byte.
The hexadecimal encoded string to decode
The decoded string
0.13.0
decodeHex("48656c6c6f"); // "Hello"decodeHex("41"); // "A"decodeHex(""); // ""decodeHex("efbbbfe282ac"); // "€" Copy
decodeHex("48656c6c6f"); // "Hello"decodeHex("41"); // "A"decodeHex(""); // ""decodeHex("efbbbfe282ac"); // "€"
Decode a hexadecimal encoded string. A value that starts with the UTF-8 byte order mark and contains valid UTF-8 is decoded as UTF-8 text, all other values are decoded as one character per byte.