There are 6 data types saved for scripts.
When saving, each data starts with the type marker saved as SLE_UINT8
followed by the actual data.
- SQLS_INT:
- an
SLE_INT64
with the actual value
- an
- SQLS_STRING:
- an
SLE_UINT8
with the string length - string len
SLE_CHAR
- an
- SQLS_ARRAY:
- each element saved as a separate data (ie type then value)
- an SQLS_ARRAY_TABLE_END marker (
SLE_UINT8
)