[][src]Type Definition libxslt::bindings::xmlOutputWriteCallback

type xmlOutputWriteCallback = Option<unsafe extern "C" fn(*mut c_void, *const i8, i32) -> i32>;

xmlOutputWriteCallback: @context: an Output context @buffer: the buffer of data to write @len: the length of the buffer in bytes

Callback used in the I/O Output API to write to the resource

Returns the number of bytes written or -1 in case of error