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

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

xmlInputReadCallback: @context: an Input context @buffer: the buffer to store data read @len: the length of the buffer in bytes

Callback used in the I/O Input API to read the resource

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