public static unsafe global::Org.Jcodec.Containers.Mxf.Model.MXFPartition Read(global::Org.Jcodec.Containers.Mxf.Model.UL p0, global::Java.Nio.ByteBuffer p1, long p2, long p3)
 {
     if (id_read_Lorg_jcodec_containers_mxf_model_UL_Ljava_nio_ByteBuffer_JJ == IntPtr.Zero)
     {
         id_read_Lorg_jcodec_containers_mxf_model_UL_Ljava_nio_ByteBuffer_JJ = JNIEnv.GetStaticMethodID(class_ref, "read", "(Lorg/jcodec/containers/mxf/model/UL;Ljava/nio/ByteBuffer;JJ)Lorg/jcodec/containers/mxf/model/MXFPartition;");
     }
     try {
         JValue *__args = stackalloc JValue [4];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         __args [3] = new JValue(p3);
         global::Org.Jcodec.Containers.Mxf.Model.MXFPartition __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartition> (JNIEnv.CallStaticObjectMethod(class_ref, id_read_Lorg_jcodec_containers_mxf_model_UL_Ljava_nio_ByteBuffer_JJ, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
 static long n_GetEssenceFilePos(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartition __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartition> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.EssenceFilePos);
 }
 static IntPtr n_GetPack(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartition __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartition> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.Pack));
 }
 static bool n_IsComplete(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Containers.Mxf.Model.MXFPartition __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mxf.Model.MXFPartition> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.IsComplete);
 }