Method

VipsBufall

Declaration [src]

const char*
vips_buf_all (
  VipsBuf* buf
)

Description [src]

Return the contents of the buffer as a C string.

Return value

Returns: utf8
 

The NULL-terminated contents of the buffer. This is a pointer to the memory managed by the buffer and must not be freed.

 The data is owned by the instance.
 The string is a NUL terminated UTF-8 string.