Regular API function

simPackUInt32Table / sim.packUInt32Table

Description Packs a table of uint32 numbers into a string. See also sim.unpackUInt32Table and the other packing/unpacking functions.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
buffer data=sim.packUInt32Table(int[] uint32Numbers,int startUint32Index=0,int uint32Count=0)
Lua
parameters
uint32Numbers: a table containing uint32 numbers. Non-numbers will be packed as zero values
startUint32Index: the zero-based index from which on data should be packed. Can be omitted in which case 0 is used
uint32Count: the amount of uint32s that should be packed. Can be omitted in which case 0 is used (which indicates that the maximum available uint32s should be packed from the indicated startUint32Index)
Lua
return values
data: a string (values between 0 and 255) that contains packed uint32 numbers from the table
Python
synopsis
bytes data=sim.packUInt32Table(list uint32Numbers,int startUint32Index=0,int uint32Count=0)