Converts byte sequence to hexadecimal string.
Hexadecimal encoded string
import { bytesToHex } from 'p2panda-js';const hex = bytesToHex(new Uint8Array([1, 2, 3]));
Any byte sequence
Generated using TypeDoc
Converts byte sequence to hexadecimal string.
Returns
Hexadecimal encoded string
Example