encoding_c

Function encoding_is_ascii_compatible

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

Checks whether the bytes 0x00…0x7F map exclusively to the characters U+0000…U+007F and vice versa.

§Undefined behavior

UB ensues if the argument is NULL.