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

type xmlOutputWriteCallback = Option<unsafe extern "C" fn(context: *mut c_void, buffer: *const c_char, len: c_int) -> c_int>;

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