load_from_bytes
Description:
[ Version ( since = "2.50" ) ]
public bool load_from_bytes (Bytes bytes, KeyFileFlags flags) throws KeyFileError
public bool load_from_bytes (Bytes bytes, KeyFileFlags flags) throws KeyFileError
Loads a key file from the data in bytes
into an empty KeyFile structure.
If the object cannot be created then error is set to a KeyFileError.
Parameters:
this |
an empty KeyFile struct |
bytes |
a Bytes |
flags |
flags from KeyFileFlags |
Returns:
true if a key file could be loaded, false otherwise |