Method

NumCosmoMathSerializevar_dict_to_variant_file

Declaration [src]

void
ncm_serialize_var_dict_to_variant_file (
  NcmSerialize* ser,
  NcmVarDict* vd,
  const gchar* filename,
  gboolean binary
)

Description [src]

Serializes vd and saves the variant string in filename.

Parameters

vd

Type: NcmVarDict

A NcmVarDict.

The data is owned by the caller of the method.
filename

Type: const gchar*

File where to save the serialized version of the object.

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

Type: gboolean

Whether to save the variant in binary format.