Skip to content

extract

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / extract

Function: extract()

Call Signature

extract(a, b): bytes

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

A range of bytes from A starting at B up to the end of the sequence

Parameters

a

bytes

b

uint64

Returns

bytes

Call Signature

extract(a, b, c): bytes

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

A range of bytes from A starting at B up to but not including B+C. If B+C is larger than the array length, the program fails

Parameters

a

bytes

b

uint64

c

uint64

Returns

bytes