Function CSTL_u16string_copy

Source
pub unsafe extern "C" fn CSTL_u16string_copy(
    instance: CSTL_UTF16StringCRef,
    dest: *mut char16_t,
    count: usize,
    off: usize,
) -> usize
Expand description

Copies a substring [off, off + count) to character string pointed to by dest. The resulting character string is not null terminated.

Returns the number of characters copied or CSTL_string_npos if off > CSTL_u16string_size(instance) (out of range).