MediaSaveFunc
Description:
[ CCode ( instance_pos = 1.9 ) ]
[ Version ( since = "0.14" ) ]
public delegate bool MediaSaveFunc (uint8[] buf) throws Error
[ 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 |
data |
user data passed to save_to_callback |
Returns:
|
Namespace: Poppler
Package: poppler-glib