Skip to content

setByte

Algorand TypeScript


Algorand TypeScript / op / setByte

setByte(a, b, c): bytes

Defined in: op.ts:3430

Copy of A with the Bth byte set to small integer (between 0..255) C. If B is greater than or equal to the array length, the program fails

bytes

uint64

uint64

bytes

Native TEAL opcode: setbyte Min AVM version: 3