Skip to main content

xmlCharEncodingOutputFunc

Type Alias xmlCharEncodingOutputFunc 

Source
pub type xmlCharEncodingOutputFunc = 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 output conversion function.

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