This is a pull request to move the Utils class to the bindings project. Eventually I want to use some of these Utils in some of the bindings (e.g. ToManagedString). I have added a flag, so one is able to disable the 'free' call after the string has been copied. Mainly because calls to duckdb_column_name and duckdb_result_error returns a const char* that is cleaned up when duckdb_destroy_result is called and shouldn't be freed by duckdb_free.
This is a pull request to move the Utils class to the bindings project. Eventually I want to use some of these Utils in some of the bindings (e.g. ToManagedString). I have added a flag, so one is able to disable the 'free' call after the string has been copied. Mainly because calls to duckdb_column_name and duckdb_result_error returns a const char* that is cleaned up when duckdb_destroy_result is called and shouldn't be freed by duckdb_free.