public unsafe static string ToString(this JNetRuntime runtime, jstring jstr) { var jchars = runtime.GetStringChars(jstr, null); var str = ToString(jchars); runtime.ReleaseStringChars(jstr, jchars); return(str); }
// ReleaseStringCritical public void ReleaseStringCritical(jstring str, jchar *carray) => functions->ReleaseStringCritical(env, str, carray);
// GetStringCritical public jchar *GetStringCritical(jstring str, jboolean *isCopy) => functions->GetStringCritical(env, str, isCopy);
// GetStringUTFRegion public void GetStringUTFRegion(jstring str, jsize start, jsize len, byte *buf) => functions->GetStringUTFRegion(env, str, start, len, buf);
// GetStringRegion public void GetStringRegion(jstring str, jsize start, jsize len, jchar *buf) => functions->GetStringRegion(env, str, start, len, buf);
// ReleaseStringUTFChars public void ReleaseStringUTFChars(jstring str, byte *utf) => functions->ReleaseStringUTFChars(env, str, utf);
// GetStringUTFChars public byte *GetStringUTFChars(jstring str, jboolean *isCopy) => functions->GetStringUTFChars(env, str, isCopy);
// GetStringUTFLength public jsize GetStringUTFLength(jstring str) => functions->GetStringUTFLength(env, str);
// ReleaseStringChars public void ReleaseStringChars(jstring str, jchar *chars) => functions->ReleaseStringChars(env, str, chars);