ReferenceFunctions
fromHex()
function fromHex(hex): Uint8Array;Defined in: packages/protocol/src/bytes.ts:26
Bytes of a hex string (case-insensitive); throws on an odd length or a non-hex character.
Parameters
hex
string
Hex string, spaces allowed
Returns
Uint8Array