Skip to content

Function: fromHex() ​

fromHex(hex): Uint8Array

Defined in: utils.ts:35

Decodes hex (either case). Throws InvalidArgumentError on malformed input.

Parameters ​

hex ​

string

Returns ​

Uint8Array

Apache-2.0.