setByte
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / op / setByte
Function: setByte()
setByte(
a
,b
,c
):bytes
Defined in: packages/algo-ts/src/op.ts:3376
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
Parameters
a
b
c
Returns
See
Native TEAL opcode: setbyte
Min AVM version: 3