pub type FPDF_FILEWRITE = FPDF_FILEWRITE_;Expand description
Structure for custom file write
Aliased Type§
#[repr(C)]pub struct FPDF_FILEWRITE {
pub version: i32,
pub WriteBlock: Option<unsafe extern "C" fn(*mut FPDF_FILEWRITE_, *const c_void, u64) -> i32>,
}Fields§
§version: i32Version number of the interface. Currently must be 1.
WriteBlock: Option<unsafe extern "C" fn(*mut FPDF_FILEWRITE_, *const c_void, u64) -> i32>Method: WriteBlock Output a block of data in your custom way. Interface Version: 1 Implementation Required: Yes Comments: Called by function FPDF_SaveDocument Parameters: self - Pointer to the structure itself data - Pointer to a buffer to output size - The size of the buffer. Return value: Should be non-zero if successful, zero for error.