Esempio n. 1
0
 public static unsafe global::Org.Jcodec.Codecs.Mpeg12.Bitstream.CopyrightExtension 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/CopyrightExtension;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Org.Jcodec.Codecs.Mpeg12.Bitstream.CopyrightExtension __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Mpeg12.Bitstream.CopyrightExtension> (JNIEnv.CallStaticObjectMethod(class_ref, id_read_Lorg_jcodec_common_io_BitReader_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 2
0
 static void n_Write_Ljava_nio_ByteBuffer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Org.Jcodec.Codecs.Mpeg12.Bitstream.CopyrightExtension __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Mpeg12.Bitstream.CopyrightExtension> (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);
 }