KeyFile.loadFromBytes
bool loadFromBytes(glib.bytes.Bytes bytes, glib.types.KeyFileFlags flags)Loads a key file from the data in bytes into an empty #GKeyFile structure. If the object cannot be created then error is set to a #GKeyFileError.
Parameters
bytes | a #GBytes |
flags | flags from #GKeyFileFlags |
Returns
true if a key file could be loaded, false otherwise
Throws
[KeyFileException]