encoding_c

Function encoding_output_encoding

source
#[no_mangle]
pub unsafe extern "C" fn encoding_output_encoding(
    encoding: *const Encoding,
) -> *const Encoding
Expand description

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.