Method
VipsBlobset
Declaration [src]
void
vips_blob_set (
VipsBlob* blob,
VipsCallbackFn free_fn,
void* data,
size_t length
)
Description [src]
Any old data is freed and new data attached.
It’s sometimes useful to be able to create blobs as empty and then fill them later.
See also
Parameters
free_fn-
Type:
VipsCallbackFndatawill be freed with this function.The argument can be NULL. data-
Type: An array of
guint8Data to store.
The length of the array is specified in the lengthargument.The instance takes ownership of the data, and is responsible for freeing it. length-
Type:
size_tNumber of bytes in
data.