Function CSTL_string_append_substr

Source
pub unsafe extern "C" fn CSTL_string_append_substr(
    instance: CSTL_StringRef,
    other: CSTL_StringCRef,
    other_off: usize,
    count: usize,
    alloc: *mut CSTL_Alloc,
) -> bool
Expand description

Appends the substring at offset other_off in other with the length given by count to instance.

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