Method

NumCosmoMathSerializefrom_binfile

Declaration [src]

GObject*
ncm_serialize_from_binfile (
  NcmSerialize* ser,
  const gchar* filename
)

Description [src]

Parses the serialized binary data in filename and returns the newly created object.

Parameters

filename

Type: const gchar*

File containing the binary serialized version of the object.

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

Return value

Type: GObject

A new GObject.

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