Encode a Uint8Array into a hexadecimal-encoded string.
E.g.: binToHex(new Uint8Array([42, 100, 255])) → '2a64ff'
binToHex(new Uint8Array([42, 100, 255]))
'2a64ff'
For the reverse, see hexToBin.
a Uint8Array to encode
Generated using TypeDoc
Encode a Uint8Array into a hexadecimal-encoded string.
E.g.:
binToHex(new Uint8Array([42, 100, 255]))
→'2a64ff'
For the reverse, see hexToBin.