pub type xmlCharEncodingInputFunc = Option<unsafe extern "C" fn(out: *mut c_uchar, outlen: *mut c_int, in_: *const c_uchar, inlen: *mut c_int) -> c_int>;Expand description
Convert characters to UTF-8.
On success, the value of inlen after return is the number of
bytes consumed and outlen is the number of bytes produced.
@param out a pointer to an array of bytes to store the UTF-8 result
@param outlen the length of out
@param in a pointer to an array of chars in the original encoding
@param inlen the length of in
@returns the number of bytes written or an xmlCharEncError code.
Aliased Type§
pub enum xmlCharEncodingInputFunc {
None,
Some(unsafe extern "C" fn(*mut u8, *mut i32, *const u8, *mut i32) -> i32),
}