Function CSTL_u16string_append_n

Source
pub unsafe extern "C" fn CSTL_u16string_append_n(
    instance: CSTL_UTF16StringRef,
    ptr: *const char16_t,
    count: usize,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Appends the first count characters of the string at ptr to instance.

If the length of the resulting string is greater than CSTL_u16string_max_size() this function has no effect and returns false, otherwise it returns true.