setbyte(data
, byteIndex
, value
): bytes
Parameters
• data: Brand
<string
, "bytes"
>
The input data to update
• byteIndex: uint64
The index of the byte to update
• value: uint64
The value to set the byte to
Returns
bytes
The updated data
Source
types/global.d.ts:1099