KeyFile.loadFromBytes

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.

class KeyFile
bool
loadFromBytes

Parameters

bytes Bytes

a #GBytes

flags GKeyFileFlags

flags from #GKeyFileFlags

Return Value

Type: bool

%TRUE if a key file could be loaded, %FALSE otherwise

Throws

GException on failure.

Meta

Since

2.50