Function CSTL_u16string_compare_nn

Source
pub unsafe extern "C" fn CSTL_u16string_compare_nn(
    left: *const char16_t,
    left_count: usize,
    right: *const char16_t,
    right_count: usize,
) -> c_int
Expand description

Compare two explicit length character sequences.

The return value is negative if left compares less than right, positive if it compares greater and zero if left and right compare equal.

There is no CSTL_UTF16String version of this function as the return value does not allow for reporting out of bounds errors.