Function
FwupdPluginmemcmp_safe
Declaration [src]
gboolean
fu_memcmp_safe (
const guint8* buf1,
gsize buf1_sz,
gsize buf1_offset,
const guint8* buf2,
gsize buf2_sz,
gsize buf2_offset,
gsize n,
GError** error
)
Parameters
buf1 |
const guint8* |
A buffer. |
|
The data is owned by the caller of the function. | |
buf1_sz |
gsize |
Sizeof |
|
buf1_offset |
gsize |
Offset into |
|
buf2 |
const guint8* |
Another buffer. |
|
The data is owned by the caller of the function. | |
buf2_sz |
gsize |
Sizeof |
|
buf2_offset |
gsize |
Offset into |
|
n |
gsize |
Number of bytes to compare from |
|
error |
GError ** |
The return location for a GError* , or NULL . |