pub unsafe extern "C" fn duckdb_valid_utf8_check(
str_: *const c_char,
len: idx_t,
) -> duckdb_error_dataExpand description
Checks if a string is valid UTF-8.
@param str The string to check
@param len The length of the string (in bytes)
@return nullptr if the string is valid UTF-8. Otherwise, a duckdb_error_data containing error information. Must be
destroyed with duckdb_destroy_error_data.