TableToMem(t, id, type[, table])
id. The third parameter specifies the data type of the elements that should be written to the memory block. This can be either
#FLOAT(4 bytes), or
table argument can be used to set additional parameters for
the operation. The following table fields are currently recognized:
TableToMem()should start to write elements. Defaults to 0 which means start writing at the beginning of the memory block.
TableToMem()will switch byte order for all multi-byte data types when writing them to the memory block. This can be useful if you need to convert between big and little endian values. Defaults to
If there are more elements in the table than the memory block can store, this function will issue an error.
To convert a memory block back into a table, use the MemToTable() function. See MemToTable for details.