public Gst.Buffer CopyRegion(Gst.BufferCopyFlags flags, ulong offset, ulong size) { IntPtr raw_ret = gst_buffer_copy_region(Handle, (int)flags, new UIntPtr(offset), new UIntPtr(size)); Gst.Buffer ret = raw_ret == IntPtr.Zero ? null : (Gst.Buffer)GLib.Opaque.GetOpaque(raw_ret, typeof(Gst.Buffer), true); return(ret); }
public bool CopyInto(Gst.Buffer src, Gst.BufferCopyFlags flags, ulong offset, ulong size) { bool raw_ret = gst_buffer_copy_into(Handle, src == null ? IntPtr.Zero : src.Handle, (int)flags, new UIntPtr(offset), new UIntPtr(size)); bool ret = raw_ret; return(ret); }