guid_from_string
Description:
[ Version ( since = "1.2.5" ) ]
public bool guid_from_string (string? guidstr, uint8 guid, GuidFlags flags) throws Error
Converts a string GUID into its binary encoding.
All string GUIDs are formatted as big endian but on-disk can be encoded in different ways.
Parameters:
guidstr |
a GUID, e.g. `00112233-4455-6677-8899-aabbccddeeff` |
guid |
a |
flags |
some fwupdguidflags, e.g. fwupd_guid_flag_mixed_endian |
Returns:
true for success |
Namespace: Fwupd
Package: fwupd