Skip to content

extractUint16

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / op / extractUint16

Function: extractUint16()

extractUint16(a, b): uint64

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

A uint16 formed from a range of big-endian bytes from A starting at B up to but not including B+2. If B+2 is larger than the array length, the program fails

Parameters

a

bytes

b

uint64

Returns

uint64

See

Native TEAL opcode: extract_uint16 Min AVM version: 5