コンテンツにスキップ

hexToUint8⚓︎

hexToUint8
Converts a hex string to an uint8 array.

ts function hexToUint8(input): Uint8Array<ArrayBuffer>Converts a hex string to an uint8 array.

Parameters⚓︎

Parameter Type Description
input string Hex encoded string.

Returns⚓︎

Uint8Array<ArrayBuffer>

Uint8 array corresponding to the input.