Function: hexToBytes()
function hexToBytes(hex): Uint8Array<ArrayBufferLike>
Converts a hex string to a byte array.
Parameters
Parameter | Type | Description |
---|---|---|
|
| The hex string to convert. |
Returns
Uint8Array
<ArrayBufferLike
>
The byte array representation of the input.
Defined
@nilfoundation/niljs/src/encoding/fromHex.ts:47