static IntPtr n_ProtocolToRawData_Ljava_lang_String_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Jsengine.IJSEngine __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Jsengine.IJSEngine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); string p1 = JNIEnv.GetString(native_p1, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.NewArray(__this.ProtocolToRawData(p0, p1)); return(__ret); }
static IntPtr n_RawDataToProtocol_Ljava_lang_String_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Jsengine.IJSEngine __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Lpbs.Component.Jsengine.IJSEngine> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); byte[] p1 = (byte[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(byte)); IntPtr __ret = JNIEnv.NewString(__this.RawDataToProtocol(p0, p1)); if (p1 != null) { JNIEnv.CopyArray(p1, native_p1); } return(__ret); }