Vips.Dbuf.string

### Method

# Vips Dbufstring

#### Declaration [src]

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

#### Description [src]

Return a pointer to `dbuf`‘s 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`

  Type: `size_t*`

  Optionally return length in bytes here.

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

#### Return value

Type: `unsigned char*`

The pointer held by `dbuf`.

The returned data is owned by the instance.