Function
FwupdPluginmemstrsafe
Declaration [src]
gchar*
fu_memstrsafe (
const guint8* buf,
gsize bufsz,
gsize offset,
gsize maxsz,
GError** error
)
Parameters
buf |
const guint8* |
Source buffer. |
|
The data is owned by the caller of the function. | |
bufsz |
gsize |
Maximum size of |
|
offset |
gsize |
Offset in bytes into |
|
maxsz |
gsize |
Maximum size of returned string. |
|
error |
GError ** |
The return location for a GError* , or NULL . |