MediaSaveFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "0.14" ) ]
public delegate bool MediaSaveFunc (uint8[] buf) throws Error

Specifies the type of the function passed to save_to_callback.

It is called once for each block of bytes that is "written" by save_to_callback. If successful it should return true. If an error occurs it should set error and return false, in which case save_to_callback will fail with the same error.

Parameters:

buf

buffer containing bytes to be written.

count

number of bytes in buf.

data

user data passed to save_to_callback

Returns:

true if successful, false (with error set) if failed.


Namespace: Poppler
Package: poppler-glib