fromHex
Algorand TypeScript / index / Bytes / fromHex
Call Signature
Section titled “Call Signature”Defined in: primitives.ts:306
Create a new bytes value from a hexadecimal encoded string
Parameters
Section titled “Parameters”string
A literal string of hexadecimal characters
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”fromHex<
TLength>(hex,options):bytes<TLength>
Defined in: primitives.ts:312
Create a new bytes value from a hexadecimal encoded string
Type Parameters
Section titled “Type Parameters”TLength
Section titled “TLength”TLength extends uint64
Parameters
Section titled “Parameters”string
A literal string of hexadecimal characters
options
Section titled “options”ToFixedBytesOptions<TLength>
Options for bounded bytes
Returns
Section titled “Returns”bytes<TLength>