public static unsafe string[] Extract_DT_NEEDED(global::Java.Nio.Channels.FileChannel fc) { const string __id = "extract_DT_NEEDED.(Ljava/nio/channels/FileChannel;)[Ljava/lang/String;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((fc == null) ? IntPtr.Zero : ((global::Java.Lang.Object)fc).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return((string[])JNIEnv.GetArray(__rm.Handle, JniHandleOwnership.TransferLocalRef, typeof(string))); } finally { } }
public virtual unsafe void SeekAndReadContent(global::Java.Nio.Channels.FileChannel p0) { if (id_seekAndReadContent_Ljava_nio_channels_FileChannel_ == IntPtr.Zero) { id_seekAndReadContent_Ljava_nio_channels_FileChannel_ = JNIEnv.GetMethodID(class_ref, "seekAndReadContent", "(Ljava/nio/channels/FileChannel;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_seekAndReadContent_Ljava_nio_channels_FileChannel_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "seekAndReadContent", "(Ljava/nio/channels/FileChannel;)V"), __args); } } finally { } }
static void n_SeekAndReadContent_Ljava_nio_channels_FileChannel_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Containers.Mkv.Boxes.MkvBlock> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Nio.Channels.FileChannel p0 = global::Java.Lang.Object.GetObject <global::Java.Nio.Channels.FileChannel> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SeekAndReadContent(p0); }