Regular API function

simUnpackUInt8Table / sim.unpackUInt8Table

Description Unpacks a string (or part of it) into a table of uint8 numbers. See also sim.packUInt8Table and the other packing/unpacking functions.
C synopsis
C parameters
C return value
Lua synopsis table[] uint8Numbers=sim.unpackUInt8Table(string data,int startUint8Index=0,int 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