sgs_Unserialize(Ext) [functions]

SGSBOOL sgs_Unserialize( sgs_Context* C, sgs_Variable var )

Unserialize the given variable (decode the byte stream).

SGSBOOL sgs_UnserializeExt( sgs_Context* C, sgs_Variable var, int mode )

Same as above, also allows to specify serialization mode.

Be mindful of the data sources you use - calls to any global function can be placed in the byte stream.