Regular API function

simUnpackUInt8Table

Description Unpacks a string (or part of it) into a table of uint8 numbers. See also simPackUInt8Table and the other packing/unpacking functions.
C synopsis -
C parameters
-
C return value
-
Lua synopsis table uint8Numbers=simUnpackUInt8Table(string data,number startUint8Index=0,number uint8Count=0)
Lua parameters
data: a string (values between 0 and 255) that contains uint8 numbers
startUint8Index: the zero-based index from which on data should be unpacked (from data[startUint8Index]). Can be omitted in which case 0 is used.
uint8Count: the amount of uint8s that should be unpacked. Can be omitted in which case 0 is used (which indicates that the maximum of uint8s should be unpacked from the indicated startUint8Index).
Lua return values
uint8Numbers: a table containing uint8 numbers if operation was successful, nil otherwise

All regular API functions on one page