public static unsafe global::Org.Jcodec.Codecs.Mpeg12.Bitstream.SequenceExtension Read(global::Org.Jcodec.Common.IO.BitReader p0)
 {
     if (id_read_Lorg_jcodec_common_io_BitReader_ == IntPtr.Zero)
     {
         id_read_Lorg_jcodec_common_io_BitReader_ = JNIEnv.GetStaticMethodID(class_ref, "read", "(Lorg/jcodec/common/io/BitReader;)Lorg/jcodec/codecs/mpeg12/bitstream/SequenceExtension;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Org.Jcodec.Codecs.Mpeg12.Bitstream.SequenceExtension __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Mpeg12.Bitstream.SequenceExtension> (JNIEnv.CallStaticObjectMethod(class_ref, id_read_Lorg_jcodec_common_io_BitReader_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
 static void n_Write_Ljava_nio_ByteBuffer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Codecs.Mpeg12.Bitstream.SequenceExtension __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Mpeg12.Bitstream.SequenceExtension> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Nio.ByteBuffer p0 = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteBuffer> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Write(p0);
 }