Method
NumCosmoMathSerializefrom_binfile
Declaration [src]
GObject*
ncm_serialize_from_binfile (
NcmSerialize* ser,
const gchar* filename
)
Description [src]
Deserializes an object from the binary GVariant data written by
ncm_serialize_to_binfile(). Aborts if the file cannot be read.
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.
Return value
Type: GObject
The object.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |