KeyFile.toData

This function outputs @key_file as a string.

Note that this function never reports an error, so it is safe to pass %NULL as @error.

class KeyFile
string
toData
(
out size_t length
)

Parameters

length size_t

return location for the length of the returned string, or %NULL

Return: a newly allocated string holding the contents of the #GKeyFile

Throws

GException on failure.

Meta