Virtual Method
FwupdPluginFirmwaretokenize
Declaration [src]
gboolean
tokenize (
FuFirmware* self,
GBytes* fw,
FwupdInstallFlags flags,
GError** error
)
Description [src]
Tokenizes a firmware, typically breaking the firmware into records.
Records can be enumerated using subclass-specific functionality, for example using fu_srec_firmware_get_records().
Available since: | 1.3.2 |
Parameters
fw |
GBytes |
Firmware blob. |
|
The data is owned by the caller of the function. | |
flags |
FwupdInstallFlags |
Install flags, e.g. |
|
error |
GError ** |
The return location for a GError* , or NULL . |