Hi all! I want to save value under the key “string_1”, where the string is a constant suffix and 1 comes from the counter. The following code:
byte "MyCounter"
app_global_get
int 1
+ // incriment
store 0
byte "string_" // suffix
load 0
itob // convert to byte
concat
int 6
btoi
app_global_put
Writes data like this:
"string_\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001": {
"tt": 2,
"ui": 6
},
itob opcode converts it to big endian bytes, that’s why it saves like this. How can it be achieved to concatenate bytes and int with readable format?
