Method

VipsDbufstring

Declaration [src]

unsigned char*
vips_dbuf_string (
  VipsDbuf* dbuf,
  size_t* size
)

Description [src]

Return a pointer to dbufs internal data.

A \0 is appended, but not included in the character count. This is so the pointer can be safely treated as a C string.

Parameters

size size_t*
 

Optionally return length in bytes here.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: guint8
 

The pointer held by dbuf.

 The data is owned by the instance.