Skip to content

fromHex

Algorand TypeScript


Algorand TypeScript / index / Bytes / fromHex

fromHex(hex): bytes<uint64>

Defined in: primitives.ts:306

Create a new bytes value from a hexadecimal encoded string

string

A literal string of hexadecimal characters

bytes<uint64>

fromHex<TLength>(hex, options): bytes<TLength>

Defined in: primitives.ts:312

Create a new bytes value from a hexadecimal encoded string

TLength extends uint64

string

A literal string of hexadecimal characters

ToFixedBytesOptions<TLength>

Options for bounded bytes

bytes<TLength>