encoding_can_encode_everything

Function encoding_can_encode_everything 

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

Checks whether the output encoding of this encoding can encode every Unicode scalar. (Only true if the output encoding is UTF-8.)

ยงUndefined behavior

UB ensues if the argument is NULL.