Regular API function

simUnpackFloatTable / sim.unpackFloatTable

Description Unpacks a string (or part of it) into a table of floating-point numbers. See also sim.packFloatTable and the other packing/unpacking functions.
C synopsis
C parameters
C return value
Lua synopsis table[] floatingNumbers=sim.unpackFloatTable(string data,int startFloatIndex=0,int floatCount=0,int additionalByteOffset=0)
Lua parameters
data: a string (values between 0 and 255) that contains packed floating-point numbers
startFloatIndex: the zero-based index from which on data should be unpacked (from data[4*startFloatIndex+1+additionalByteOffset]). Can be omitted in which case 0 is used
floatCount: the amount of floats that should be unpacked. Can be omitted in which case 0 is used (which indicates that the maximum of floats should be unpacked from the indicated startFloatIndex)
additionalByteOffset: a byte offset that will be added before reading the floats. Can be omitted, in which case 0 is used.
Lua return values
floatingNumbers: a table containing unpacked floating-point numbers