// GetStringRegion public void GetStringRegion(jstring str, jsize start, jsize len, jchar *buf) => functions->GetStringRegion(env, str, start, len, buf);
// ReleaseStringCritical public void ReleaseStringCritical(jstring str, jchar *carray) => functions->ReleaseStringCritical(env, str, carray);
// SetCharArrayRegion public void SetCharArrayRegion(jcharArray array, jsize start, jsize len, jchar *buf) => functions->SetCharArrayRegion(env, array, start, len, buf);
// ReleaseCharArrayElements public void ReleaseCharArrayElements(jcharArray array, jchar *elems, jint mode) => functions->ReleaseCharArrayElements(env, array, elems, mode);
// ReleaseStringChars public void ReleaseStringChars(jstring str, jchar *chars) => functions->ReleaseStringChars(env, str, chars);
// NewString public jstring NewString(jchar *unicode, jsize len) => functions->NewString(env, unicode, len);
private unsafe static string ToString(jchar *chars) => new string((char *)chars);