simUnpackTable

Unpacks a buffer into a table

C++ synopsis

int simUnpackTable(int stackHandle, const char* buffer, int bufferSize)

Arguments

  • stackHandle: stack handle obtained with simCreateStack. The unpacked table will be pushed onto the stack.
  • buffer: packed table (buffer)
  • bufferSize: size of the buffer

Return

  • -1 in case of an error.


See also: