Regular API function

simUnpackUInt32Table

Description Unpacks a string (or part of it) into a table of uint32 numbers. See also simPackUInt32Table and the other packing/unpacking functions.
C synopsis -
C parameters
-
C return value
-
Lua synopsis table uint32Numbers=simUnpackUInt32Table(string data,number startUint32Index=0,number uint32Count=0,number additionalByteOffset=0)
Lua parameters
data: a string (values between 0 and 255) that contains packed uint32 numbers
startUint32Index: the zero-based index from which on data should be unpacked (from data[4*startUint32Index+1+additionalByteOffset]). Can be omitted in which case 0 is used
uint32Count: the amount of uint32s that should be unpacked. Can be omitted in which case 0 is used (which indicates that the maximum of uint32s should be unpacked from the indicated startUint32Index)
additionalByteOffset: a byte offset that will be added before reading the uint32s. Can be omitted, in which case 0 is used.
Lua return values
integerNumbers: a table containing unpacked uint32 numbers if operation was successful, nil otherwise

All regular API functions on one page