encoding_c

Function decoder_encoding

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

The Encoding this Decoder is for.

BOM sniffing can change the return value of this method during the life of the decoder.

ยงUndefined behavior

UB ensues if the argument is NULL.