Function
FwupdPluginbyte_array_append_safe
Declaration [src]
gboolean
fu_byte_array_append_safe (
GByteArray* array,
const guint8* buf,
gsize bufsz,
gsize offset,
gsize n,
GError** error
)
Parameters
array |
An array of guint8 |
A |
|
| The data is owned by the caller of the function. | |
buf |
const guint8* |
A raw byte buffer. |
|
| The data is owned by the caller of the function. | |
bufsz |
gsize |
Size of |
|
offset |
gsize |
Offset in bytes. |
|
n |
gsize |
Number of bytes. |
|
error |
GError ** |
The return location for a GError*, or NULL. |