Method
NumCosmoMathSerializevar_dict_from_variant_file
Declaration [src]
NcmVarDict*
ncm_serialize_var_dict_from_variant_file (
NcmSerialize* ser,
const gchar* filename,
gboolean binary
)
Description [src]
Parses the serialized string in filename and returns a NcmVarDict containing
the object names as keys and the serialized objects as values.
Parameters
filename-
Type:
const gchar*File containing the serialized version of the
NcmVarDict.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. binary-
Type:
gbooleanWhether the file contains binary data or not.
Return value
Type: NcmVarDict
A new NcmVarDict.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |