public virtual unsafe void Order(global::Java.Nio.ByteOrder p0)
            {
                if (id_order_Ljava_nio_ByteOrder_ == IntPtr.Zero)
                {
                    id_order_Ljava_nio_ByteOrder_ = JNIEnv.GetMethodID(class_ref, "order", "(Ljava/nio/ByteOrder;)V");
                }
                try {
                    JValue *__args = stackalloc JValue [1];
                    __args [0] = new JValue(p0);

                    if (GetType() == ThresholdType)
                    {
                        JNIEnv.CallVoidMethod(Handle, id_order_Ljava_nio_ByteOrder_, __args);
                    }
                    else
                    {
                        JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "order", "(Ljava/nio/ByteOrder;)V"), __args);
                    }
                } finally {
                }
            }
        public static unsafe int 鷭(byte[] p0, global::Java.Nio.ByteOrder p1)
        {
            if (id_鷭_arrayBLjava_nio_ByteOrder_ == IntPtr.Zero)
            {
                id_鷭_arrayBLjava_nio_ByteOrder_ = JNIEnv.GetStaticMethodID(class_ref, "鷭", "([BLjava/nio/ByteOrder;)I");
            }
            IntPtr native_p0 = JNIEnv.NewArray(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                int __ret = JNIEnv.CallStaticIntMethod(class_ref, id_鷭_arrayBLjava_nio_ByteOrder_, __args);
                return(__ret);
            } finally {
                if (p0 != null)
                {
                    JNIEnv.CopyArray(native_p0, p0);
                    JNIEnv.DeleteLocalRef(native_p0);
                }
            }
        }
 static void n_Order_Ljava_nio_ByteOrder_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Bumptech.Glide.Load.Resource.Bitmap.ImageHeaderParser.RandomAccessReader __this = global::Java.Lang.Object.GetObject <global::Com.Bumptech.Glide.Load.Resource.Bitmap.ImageHeaderParser.RandomAccessReader> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Nio.ByteOrder p0 = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteOrder> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Order(p0);
 }