Method
VipsDbufsteal
Declaration [src]
unsigned char*
vips_dbuf_steal (
VipsDbuf* dbuf,
size_t* size
)
Description [src]
Destroy a buffer, but rather than freeing memory, a pointer is returned.
This must be freed with g_free()
.
A \0
is appended, but not included in the character count. This is so the
pointer can be safely treated as a C string.