Encodes bytes as a lowercase hex string.
The bytes to encode.
The hex string (two characters per byte, no separators).
1.0.3
import { toHex } from 'edgeport/util';toHex(new Uint8Array([0xde, 0xad, 0xbe, 0xef])); // 'deadbeef' Copy
import { toHex } from 'edgeport/util';toHex(new Uint8Array([0xde, 0xad, 0xbe, 0xef])); // 'deadbeef'
Encodes bytes as a lowercase hex string.