Regular API function

simPackInt32Table / sim.packInt32Table

Description Packs a table of int32 numbers into a string. See also sim.unpackInt32Table and the other packing/unpacking functions.
C synopsis
C parameters
C return value
Lua synopsis string data=sim.packInt32Table(table[] int32Numbers,int startInt32Index=0,int int32Count=0)
Lua parameters
int32Numbers: a table containing int32 numbers. Non-numbers will be packed as zero values
startInt32Index: the zero-based index from which on data should be packed. Can be omitted in which case 0 is used
int32Count: the amount of int32s that should be packed. Can be omitted in which case 0 is used (which indicates that the maximum available int32s should be packed from the indicated startInt32Index)
Lua return values
data: a string (values between 0 and 255) that contains packed int32 numbers from the table