Method
FwupdPluginDeviceset_contents_bytes
Declaration [src]
gboolean
fu_device_set_contents_bytes (
FuDevice* self,
const gchar* filename,
GBytes* blob,
FuProgress* progress,
GError** error
)
Parameters
filename |
const gchar* |
Full path to a file. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
blob |
GBytes |
Data to write. |
|
| The data is owned by the caller of the function. | |
progress |
FuProgress |
Optional |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |