Skip to main content

xmlCharEncodingInputFunc

Type Alias xmlCharEncodingInputFunc 

Source
pub type xmlCharEncodingInputFunc = unsafe extern "C" fn(out: *mut c_uchar, outlen: *mut c_int, in_: *const c_uchar, inlen: *mut c_int) -> c_int;
Expand description

Character encoding input conversion function.

Converts from the handler’s input encoding to UTF-8. in and inlen describe input; out and outlen describe output buffer. Returns the number of bytes written, or -1 on error.