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]

Deserializes a NcmVarDict from the file written by ncm_serialize_var_dict_to_variant_file().

Parameters

filename

Type: const gchar*

A file name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
binary

Type: gboolean

Whether the file holds binary GVariant data.

Return value

Type: NcmVarDict

A new NcmVarDict.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.