13.07.2020, 11:48
For 10 bytes you need to set data type to 250 byte string.
Then you can split string into bytes like this:
Then you can split string into bytes like this:
Code:
value = event.getvalue()
bytes = { value:byte(1, #value) }
-- byte 1 is bytes[ 1 ], byte 2 is bytes[ 2 ] and so on