Method
FwupdPluginFirmwareget_bytes
Declaration [src]
GBytes*
fu_firmware_get_bytes (
FuFirmware* self
GError** error
)
Description [src]
Gets the firmware payload, which does not have any header or footer included.
If there is more than one potential payload or image section then fu_firmware_add_image()
should be used instead.
Available since: | 1.6.0 |
Return value
Returns: | GBytes |
A |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |