sim.packFloatTable return table instead of string.
Posted: 22 Jul 2024, 09:03
Function synopsis of sim.packFloatTable from document is
It seems that the returned
CoppeliaSim Version: EDU 4.7.0 rev0
Code: Select all
buffer data = sim.packFloatTable(float[] floatingNumbers, int startFloatIndex = 0, int floatCount = 0)
data
should be a buffer (string in lua) instead of table. But currently data
is a table of bytes. If I want to unpack it or write it to file, I need to concat it by myself through table.concat(sim.packFloatTable(float_table))
. Is that a bug or a designed behavior?CoppeliaSim Version: EDU 4.7.0 rev0