Converts a byte array to a hexadecimal string.
The byte array to convert.
A hexadecimal string representation of the bytes.
bytesToHex(new Uint8Array([255, 0, 127])) // Returns 'FF007F' Copy
bytesToHex(new Uint8Array([255, 0, 127])) // Returns 'FF007F'
Converts a byte array to a hexadecimal string.