Regular API function

simUnpackUInt32Table / sim.unpackUInt32Table

Description Unpacks a string (or part of it) into a table of uint32 numbers. See also sim.packUInt32Table and the other packing/unpacking functions.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
int[] uint32Numbers=sim.unpackUInt32Table(buffer data,int startUint32Index=0,int uint32Count=0,int 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
Python
synopsis
list uint32Numbers=sim.unpackUInt32Table(bytes data,int startUint32Index=0,int uint32Count=0,int additionalByteOffset=0)

<