[ CCode ( error_pos = 1.8 , instance_pos = 1.9 ) ]
[ Version ( since = "2.4" ) ]
public delegate bool PixbufSaveFunc (uint8[] buf) throws Error
Save functions used by [methodGdkPixbuf.Pixbuf
.
save_to_callback].
This function is called once for each block of bytes that is "written" by `gdk_pixbuf_save_to_callback()`.
If successful it should return `TRUE`; if an error occurs it should set `error` and return `FALSE`, in which case `gdk_pixbuf_save_to_callback()` will fail with the same error.
buf |
bytes to be written. |
count |
number of bytes in |
data |
user data passed to save_to_callback. |
error |
A location to return an error. |
`TRUE` if successful, `FALSE` otherwise |