API Version: 1.0
Library Version: 1.8.12
Generated by gi-docgen 2023.1
since: 1.7.4
void fu_firmware_add_patch ( FuFirmware* self, gsize offset, GBytes* blob )
Adds a byte patch at a specific offset. If a patch already exists at the specified address then it is replaced.
If the address is larger than the size of the image then an error is returned.
address
Available since: 1.7.4
offset
Type: gsize
gsize
An address smaller than fu_firmware_get_size()
fu_firmware_get_size()
blob
Type: GBytes
GBytes
Bytes to replace.