Method
FwupdPluginFirmwareparse_bytes
Declaration [src]
gboolean
fu_firmware_parse_bytes (
FuFirmware* self,
GBytes* fw,
gsize offset,
guint64 flags,
GError** error
)
Description [src]
Parses a firmware, typically breaking the firmware into images.
| Available since: | 2.0.1 |
Parameters
fw |
GBytes |
Firmware blob. |
|
| The data is owned by the caller of the function. | |
offset |
gsize |
Start offset, useful for ignoring a bootloader. |
|
flags |
guint64 |
|
|
error |
GError ** |
The return location for a GError*, or NULL. |