Regular API function

simPackUInt32Table

Description Packs a table of uint32 numbers into a string. See also simUnpackUInt32Table and the other packing/unpacking functions.
C synopsis -
C parameters
-
C return value
-
Lua synopsis string data=simPackUInt32Table(table uint32Numbers,number startUint32Index=0,number 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 if operation was successful, nil otherwise

All regular API functions on one page