Convert byte array to hex string. Uses built-in function, when available.
bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123' Copy
bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'
Convert byte array to hex string. Uses built-in function, when available.
Example