Skip to main content

xmlInputReadCallback

Type Alias xmlInputReadCallback 

Source
pub type xmlInputReadCallback = unsafe extern "C" fn(context: *mut c_void, buffer: *mut c_char, len: c_int) -> c_int;
Expand description

Read callback for custom input.

Should fill buffer with up to len bytes. Returns the number of bytes read, 0 on EOF, or -1 on error.