Skip to main content

Function: hexToUint8()

function hexToUint8(hexString): Uint8Array;

Converts a hexadecimal string to a Uint8Array.

Parameters

hexString: string

The hexadecimal string to convert. It should be prefixed by "0x".

Returns

Uint8Array

The Uint8Array representation of the hexadecimal string.


Coinweb © 2024