public static unsafe int[] GetStyleableArrts(global::Android.Content.Context p0, string p1) { if (id_getStyleableArrts_Landroid_content_Context_Ljava_lang_String_ == IntPtr.Zero) { id_getStyleableArrts_Landroid_content_Context_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "getStyleableArrts", "(Landroid/content/Context;Ljava/lang/String;)[I"); } IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); int[] __ret = (int[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_getStyleableArrts_Landroid_content_Context_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef, typeof(int)); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p1); } }
public virtual unsafe int[] GetSampleSizes() { if (id_getSampleSizes == IntPtr.Zero) { id_getSampleSizes = JNIEnv.GetMethodID(class_ref, "getSampleSizes", "()[I"); } try { if (GetType() == ThresholdType) { return((int[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getSampleSizes), JniHandleOwnership.TransferLocalRef, typeof(int))); } else { return((int[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSampleSizes", "()[I")), JniHandleOwnership.TransferLocalRef, typeof(int))); } } finally { } }
public virtual unsafe global::Org.Jcodec.Common.Model.ChannelLabel[] GetLabels() { if (id_getLabels == IntPtr.Zero) { id_getLabels = JNIEnv.GetMethodID(class_ref, "getLabels", "()[Lorg/jcodec/common/model/ChannelLabel;"); } try { if (GetType() == ThresholdType) { return((global::Org.Jcodec.Common.Model.ChannelLabel[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getLabels), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Jcodec.Common.Model.ChannelLabel))); } else { return((global::Org.Jcodec.Common.Model.ChannelLabel[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getLabels", "()[Lorg/jcodec/common/model/ChannelLabel;")), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Jcodec.Common.Model.ChannelLabel))); } } finally { } }
public virtual unsafe byte[] GetDataFromBase64URL() { if (id_getDataFromBase64URL == IntPtr.Zero) { id_getDataFromBase64URL = JNIEnv.GetMethodID(class_ref, "getDataFromBase64URL", "()[B"); } try { if (GetType() == ThresholdType) { return((byte[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(Handle, id_getDataFromBase64URL), JniHandleOwnership.TransferLocalRef, typeof(byte))); } else { return((byte[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getDataFromBase64URL", "()[B")), JniHandleOwnership.TransferLocalRef, typeof(byte))); } } finally { } }
public virtual unsafe string[] ReturnRequiredOnlineConfNames() { if (id_returnRequiredOnlineConfNames == IntPtr.Zero) { id_returnRequiredOnlineConfNames = JNIEnv.GetMethodID(class_ref, "returnRequiredOnlineConfNames", "()[Ljava/lang/String;"); } try { if (((object)this).GetType() == ThresholdType) { return((string[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_returnRequiredOnlineConfNames), JniHandleOwnership.TransferLocalRef, typeof(string))); } else { return((string[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "returnRequiredOnlineConfNames", "()[Ljava/lang/String;")), JniHandleOwnership.TransferLocalRef, typeof(string))); } } finally { } }
public virtual unsafe global::Com.Bluecats.Sdk.BCCustomValue[] GetCustomValues() { if (id_getCustomValues == IntPtr.Zero) { id_getCustomValues = JNIEnv.GetMethodID(class_ref, "getCustomValues", "()[Lcom/bluecats/sdk/BCCustomValue;"); } try { if (((object)this).GetType() == ThresholdType) { return((global::Com.Bluecats.Sdk.BCCustomValue[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getCustomValues), JniHandleOwnership.TransferLocalRef, typeof(global::Com.Bluecats.Sdk.BCCustomValue))); } else { return((global::Com.Bluecats.Sdk.BCCustomValue[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getCustomValues", "()[Lcom/bluecats/sdk/BCCustomValue;")), JniHandleOwnership.TransferLocalRef, typeof(global::Com.Bluecats.Sdk.BCCustomValue))); } } finally { } }
static IntPtr n_DecodeOnePlane_Lorg_jcodec_common_io_BitReader_IarrayIarrayIIII(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1, IntPtr native_p2, IntPtr native_p3, int p4, int p5, int p6) { global::Org.Jcodec.Codecs.Prores.ProresDecoder __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Prores.ProresDecoder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Jcodec.Common.IO.BitReader p0 = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Common.IO.BitReader> (native_p0, JniHandleOwnership.DoNotTransfer); int[] p2 = (int[])JNIEnv.GetArray(native_p2, JniHandleOwnership.DoNotTransfer, typeof(int)); int[] p3 = (int[])JNIEnv.GetArray(native_p3, JniHandleOwnership.DoNotTransfer, typeof(int)); IntPtr __ret = JNIEnv.NewArray(__this.DecodeOnePlane(p0, p1, p2, p3, p4, p5, p6)); if (p2 != null) { JNIEnv.CopyArray(p2, native_p2); } if (p3 != null) { JNIEnv.CopyArray(p3, native_p3); } return(__ret); }
public virtual unsafe global::Org.Neuroph.Nnet.Learning.Kmeans.Cluster[] GetClusters() { if (id_getClusters == IntPtr.Zero) { id_getClusters = JNIEnv.GetMethodID(class_ref, "getClusters", "()[Lorg/neuroph/nnet/learning/kmeans/Cluster;"); } try { if (GetType() == ThresholdType) { return((global::Org.Neuroph.Nnet.Learning.Kmeans.Cluster[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getClusters), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Neuroph.Nnet.Learning.Kmeans.Cluster))); } else { return((global::Org.Neuroph.Nnet.Learning.Kmeans.Cluster[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getClusters", "()[Lorg/neuroph/nnet/learning/kmeans/Cluster;")), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Neuroph.Nnet.Learning.Kmeans.Cluster))); } } finally { } }
public virtual unsafe global::CH.Qos.Logback.Classic.Spi.IThrowableProxy[] GetSuppressed() { if (id_getSuppressed == IntPtr.Zero) { id_getSuppressed = JNIEnv.GetMethodID(class_ref, "getSuppressed", "()[Lch/qos/logback/classic/spi/IThrowableProxy;"); } try { if (GetType() == ThresholdType) { return((global::CH.Qos.Logback.Classic.Spi.IThrowableProxy[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getSuppressed), JniHandleOwnership.TransferLocalRef, typeof(global::CH.Qos.Logback.Classic.Spi.IThrowableProxy))); } else { return((global::CH.Qos.Logback.Classic.Spi.IThrowableProxy[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSuppressed", "()[Lch/qos/logback/classic/spi/IThrowableProxy;")), JniHandleOwnership.TransferLocalRef, typeof(global::CH.Qos.Logback.Classic.Spi.IThrowableProxy))); } } finally { } }
public static unsafe byte[] Decode(string p0, int p1) { if (id_decode_Ljava_lang_String_I == IntPtr.Zero) { id_decode_Ljava_lang_String_I = JNIEnv.GetStaticMethodID(class_ref, "decode", "(Ljava/lang/String;I)[B"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); byte[] __ret = (byte[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_decode_Ljava_lang_String_I, __args), JniHandleOwnership.TransferLocalRef, typeof(byte)); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public virtual unsafe byte[] GetData() { if (id_getData == IntPtr.Zero) { id_getData = JNIEnv.GetMethodID(class_ref, "getData", "()[B"); } try { if (((object)this).GetType() == ThresholdType) { return((byte[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Throwable) this).Handle, id_getData), JniHandleOwnership.TransferLocalRef, typeof(byte))); } else { return((byte[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Throwable) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getData", "()[B")), JniHandleOwnership.TransferLocalRef, typeof(byte))); } } finally { } }
public virtual unsafe global::Xamarin.Test.SomeValues[] GetSomeObjectPropertyArray() { if (id_getSomeObjectPropertyArray == IntPtr.Zero) { id_getSomeObjectPropertyArray = JNIEnv.GetMethodID(class_ref, "getSomeObjectPropertyArray", "()[I"); } try { if (GetType() == ThresholdType) { return((global::Xamarin.Test.SomeValues[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getSomeObjectPropertyArray), JniHandleOwnership.TransferLocalRef, typeof(global::Xamarin.Test.SomeValues))); } else { return((global::Xamarin.Test.SomeValues[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSomeObjectPropertyArray", "()[I")), JniHandleOwnership.TransferLocalRef, typeof(global::Xamarin.Test.SomeValues))); } } finally { } }
public override unsafe int[] ReturnRequiredMsgIds() { if (id_returnRequiredMsgIds == IntPtr.Zero) { id_returnRequiredMsgIds = JNIEnv.GetMethodID(class_ref, "returnRequiredMsgIds", "()[I"); } try { if (((object)this).GetType() == ThresholdType) { return((int[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_returnRequiredMsgIds), JniHandleOwnership.TransferLocalRef, typeof(int))); } else { return((int[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "returnRequiredMsgIds", "()[I")), JniHandleOwnership.TransferLocalRef, typeof(int))); } } finally { } }
public virtual unsafe bool[][] BulkGetSolo() { if (id_bulkGetSolo == IntPtr.Zero) { id_bulkGetSolo = JNIEnv.GetMethodID(class_ref, "bulkGetSolo", "()[[Z"); } try { if (GetType() == ThresholdType) { return((bool[][])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_bulkGetSolo), JniHandleOwnership.TransferLocalRef, typeof(bool[]))); } else { return((bool[][])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "bulkGetSolo", "()[[Z")), JniHandleOwnership.TransferLocalRef, typeof(bool[]))); } } finally { } }
public virtual unsafe global::Java.Lang.Object[][] ToArray() { if (id_toArray == IntPtr.Zero) { id_toArray = JNIEnv.GetMethodID(class_ref, "toArray", "()[[Ljava/lang/Object;"); } try { if (GetType() == ThresholdType) { return((global::Java.Lang.Object[][])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_toArray), JniHandleOwnership.TransferLocalRef, typeof(global::Java.Lang.Object[]))); } else { return((global::Java.Lang.Object[][])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "toArray", "()[[Ljava/lang/Object;")), JniHandleOwnership.TransferLocalRef, typeof(global::Java.Lang.Object[]))); } } finally { } }
public virtual unsafe global::Org.Neuroph.Core.Connection[] GetConnectionsFromOtherLayers() { if (id_getConnectionsFromOtherLayers == IntPtr.Zero) { id_getConnectionsFromOtherLayers = JNIEnv.GetMethodID(class_ref, "getConnectionsFromOtherLayers", "()[Lorg/neuroph/core/Connection;"); } try { if (GetType() == ThresholdType) { return((global::Org.Neuroph.Core.Connection[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getConnectionsFromOtherLayers), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Neuroph.Core.Connection))); } else { return((global::Org.Neuroph.Core.Connection[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getConnectionsFromOtherLayers", "()[Lorg/neuroph/core/Connection;")), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Neuroph.Core.Connection))); } } finally { } }
public virtual unsafe global::Org.Jcodec.Containers.Mxf.Model.UL[] GetSubDescriptors() { if (id_getSubDescriptors == IntPtr.Zero) { id_getSubDescriptors = JNIEnv.GetMethodID(class_ref, "getSubDescriptors", "()[Lorg/jcodec/containers/mxf/model/UL;"); } try { if (GetType() == ThresholdType) { return((global::Org.Jcodec.Containers.Mxf.Model.UL[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getSubDescriptors), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Jcodec.Containers.Mxf.Model.UL))); } else { return((global::Org.Jcodec.Containers.Mxf.Model.UL[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSubDescriptors", "()[Lorg/jcodec/containers/mxf/model/UL;")), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Jcodec.Containers.Mxf.Model.UL))); } } finally { } }
public virtual unsafe byte[] Java_encryptByRSA(byte[] p0) { const string __id = "java_encryptByRSA.([B)[B"; IntPtr native_p0 = JNIEnv.NewArray(p0); try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue(native_p0); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return((byte[])JNIEnv.GetArray(__rm.Handle, JniHandleOwnership.TransferLocalRef, typeof(byte))); } finally { if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } } }
public override unsafe byte[] ToByte() { if (id_toByte == IntPtr.Zero) { id_toByte = JNIEnv.GetMethodID(class_ref, "toByte", "()[B"); } try { if (GetType() == ThresholdType) { return((byte[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_toByte), JniHandleOwnership.TransferLocalRef, typeof(byte))); } else { return((byte[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "toByte", "()[B")), JniHandleOwnership.TransferLocalRef, typeof(byte))); } } finally { } }
public static unsafe byte[] OiSymmetryDecrypt2Byte(byte[] p0) { const string __id = "oiSymmetryDecrypt2Byte.([B)[B"; IntPtr native_p0 = JNIEnv.NewArray(p0); try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue(native_p0); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return((byte[])JNIEnv.GetArray(__rm.Handle, JniHandleOwnership.TransferLocalRef, typeof(byte))); } finally { if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } } }
protected virtual unsafe byte[] EncodeMessageId() { if (id_encodeMessageId == IntPtr.Zero) { id_encodeMessageId = JNIEnv.GetMethodID(class_ref, "encodeMessageId", "()[B"); } try { if (((object)this).GetType() == ThresholdType) { return((byte[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_encodeMessageId), JniHandleOwnership.TransferLocalRef, typeof(byte))); } else { return((byte[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "encodeMessageId", "()[B")), JniHandleOwnership.TransferLocalRef, typeof(byte))); } } finally { } }
public override unsafe string[] GetSupportedCipherSuites() { if (id_getSupportedCipherSuites == IntPtr.Zero) { id_getSupportedCipherSuites = JNIEnv.GetMethodID(class_ref, "getSupportedCipherSuites", "()[Ljava/lang/String;"); } try { if (GetType() == ThresholdType) { return((string[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(Handle, id_getSupportedCipherSuites), JniHandleOwnership.TransferLocalRef, typeof(string))); } else { return((string[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getSupportedCipherSuites", "()[Ljava/lang/String;")), JniHandleOwnership.TransferLocalRef, typeof(string))); } } finally { } }
public virtual unsafe int[] GetDimensions() { if (id_getDimensions == IntPtr.Zero) { id_getDimensions = JNIEnv.GetMethodID(class_ref, "getDimensions", "()[I"); } try { if (GetType() == ThresholdType) { return((int[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(Handle, id_getDimensions), JniHandleOwnership.TransferLocalRef, typeof(int))); } else { return((int[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getDimensions", "()[I")), JniHandleOwnership.TransferLocalRef, typeof(int))); } } finally { } }
public static unsafe byte[] IntArray2ByteArray(int[] srcArray) { const string __id = "intArray2ByteArray.([I)[B"; IntPtr native_srcArray = JNIEnv.NewArray(srcArray); try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue(native_srcArray); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return((byte[])JNIEnv.GetArray(__rm.Handle, JniHandleOwnership.TransferLocalRef, typeof(byte))); } finally { if (srcArray != null) { JNIEnv.CopyArray(native_srcArray, srcArray); JNIEnv.DeleteLocalRef(native_srcArray); } } }
public virtual unsafe double[] GetLastGradient() { if (id_getLastGradient == IntPtr.Zero) { id_getLastGradient = JNIEnv.GetMethodID(class_ref, "getLastGradient", "()[D"); } try { if (GetType() == ThresholdType) { return((double[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getLastGradient), JniHandleOwnership.TransferLocalRef, typeof(double))); } else { return((double[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getLastGradient", "()[D")), JniHandleOwnership.TransferLocalRef, typeof(double))); } } finally { } }
public static unsafe char[] Byte2CharOriginal(byte[] b) { const string __id = "byte2CharOriginal.([B)[C"; IntPtr native_b = JNIEnv.NewArray(b); try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue(native_b); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return((char[])JNIEnv.GetArray(__rm.Handle, JniHandleOwnership.TransferLocalRef, typeof(char))); } finally { if (b != null) { JNIEnv.CopyArray(native_b, b); JNIEnv.DeleteLocalRef(native_b); } } }
protected override unsafe byte[] GetVariableHeader() { if (id_getVariableHeader == IntPtr.Zero) { id_getVariableHeader = JNIEnv.GetMethodID(class_ref, "getVariableHeader", "()[B"); } try { if (((object)this).GetType() == ThresholdType) { return((byte[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getVariableHeader), JniHandleOwnership.TransferLocalRef, typeof(byte))); } else { return((byte[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getVariableHeader", "()[B")), JniHandleOwnership.TransferLocalRef, typeof(byte))); } } finally { } }
public static unsafe byte[] TrimLast(byte[] bytes) { const string __id = "trimLast.([B)[B"; IntPtr native_bytes = JNIEnv.NewArray(bytes); try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue(native_bytes); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return((byte[])JNIEnv.GetArray(__rm.Handle, JniHandleOwnership.TransferLocalRef, typeof(byte))); } finally { if (bytes != null) { JNIEnv.CopyArray(native_bytes, bytes); JNIEnv.DeleteLocalRef(native_bytes); } } }
public virtual unsafe string[] GetValuesRow() { if (id_getValuesRow == IntPtr.Zero) { id_getValuesRow = JNIEnv.GetMethodID(class_ref, "getValuesRow", "()[Ljava/lang/String;"); } try { if (GetType() == ThresholdType) { return((string[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getValuesRow), JniHandleOwnership.TransferLocalRef, typeof(string))); } else { return((string[])JNIEnv.GetArray(JNIEnv.CallNonvirtualObjectMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getValuesRow", "()[Ljava/lang/String;")), JniHandleOwnership.TransferLocalRef, typeof(string))); } } finally { } }
public unsafe long[] Invoke鷭(global::Java.IO.File p0, string p1) { if (id_鷭_Ljava_io_File_Ljava_lang_String_ == IntPtr.Zero) { id_鷭_Ljava_io_File_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "鷭", "(Ljava/io/File;Ljava/lang/String;)[J"); } IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); long[] __ret = (long[])JNIEnv.GetArray(JNIEnv.CallObjectMethod(Handle, id_鷭_Ljava_io_File_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef, typeof(long)); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p1); } }