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. Since 2.6

class KeyFile
string
toData

Parameters

length gsize

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

Return Value

Type: string

a newly allocated string holding the contents of the GKeyFile

Throws

GException on failure.

Meta