Function encoding_c::encoding_output_encoding [] [src]

#[no_mangle]
pub unsafe extern fn encoding_output_encoding(encoding: *const Encoding)
                                              -> *const Encoding

Returns the output encoding of this encoding. This is UTF-8 for UTF-16BE, UTF-16LE and replacement and the encoding itself otherwise.

Undefined behavior

UB ensues if the argument is NULL.