Skip to content

Welshman Docs / @welshman/lib / hexToBytes

Function: hexToBytes() ​

hexToBytes(hex): Uint8Array<ArrayBuffer>

Defined in: packages/lib/src/Tools.ts:1592

Converts a hex string to an array buffer

Parameters ​

hex ​

string

hex string

Returns ​

Uint8Array<ArrayBuffer>

ArrayBuffer