Constructor
FwupdPluginChunknew
Declaration [src]
FuChunk*
fu_chunk_new (
guint32 idx,
guint32 page,
guint32 address,
const guint8* data,
guint32 data_sz
)
Parameters
idx |
guint32 |
The packet number. |
|
page |
guint32 |
The hardware memory page. |
|
address |
guint32 |
The address within the page. |
|
data |
const guint8* |
The data. |
|
The data is owned by the caller of the function. | |
data_sz |
guint32 |
Size of |
Return value
Returns: | FuChunk |
A |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |