Method

VipsDbufread

Declaration [src]

size_t
vips_dbuf_read (
  VipsDbuf* dbuf,
  unsigned char* data,
  size_t size
)

Description [src]

Up to size bytes are read from the buffer and copied to data. The number of bytes transferred is returned.

Parameters

data unsigned char*
 

Read to this area.

 The data is owned by the caller of the function.
size size_t
 

Read up to this many bytes.

Return value

Returns: gsize
 

The number of bytes transferred.