loadFromBytes

fun loadFromBytes(bytes: Bytes, flags: KeyFileFlags): <Error class: unknown class><Boolean>

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.

Return

true if a key file could be loaded, false otherwise

Since

2.50

Parameters

bytes

a #GBytes

flags

flags from #GKeyFileFlags