Skip to content

getByte

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / getByte

Function: getByte()

getByte(a, b): uint64

Defined in: packages/algo-ts/src/op.ts:951

Bth byte of A, as an integer. If B is greater than or equal to the array length, the program fails

Parameters

a

bytes

b

uint64

Returns

uint64

See

Native TEAL opcode: getbyte Min AVM version: 3