Method
FwupdPluginFirmwarewrite_chunk
Declaration [src]
GBytes*
fu_firmware_write_chunk (
FuFirmware* self,
guint64 address,
guint64 chunk_sz_max,
GError** error
)
Description [src]
Gets a block of data from the image. If the contents of the image is
smaller than the requested chunk size then the GBytes
will be smaller
than chunk_sz_max
. Use fu_bytes_pad()
if padding is required.
If the address
is larger than the size of the image then an error is returned.
Available since: | 1.6.0 |