Signal

VipsSourceCustom::read

Declaration

gint64
read (
  VipsSourceCustom* self,
  gpointer buffer,
  gint64 size,
  gpointer user_data
)

Description [src]

This signal is emitted to read bytes from the source into buffer.

Default handler:
The signal can be emitted directly

Parameters

buffer gpointer
 

gpointer, buffer to fill.

size gint64
 

gint64, size of buffer.

Return value

Returns: gint64
 

The number of bytes read. Return 0 for EOF.