Table of Contents

Class MemoryHandle

Namespace
Gst.Internal
Assembly
Gst-1.0.dll
public abstract class MemoryHandle : SafeHandle, IDisposable, IEquatable<MemoryHandle>
Inheritance
MemoryHandle
Implements
Derived
Inherited Members

Constructors

MemoryHandle(bool)

protected MemoryHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(MemoryHandle?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(MemoryHandle? other)

Parameters

other MemoryHandle

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetAlign()

public nuint GetAlign()

Returns

nuint

GetAllocator()

public IntPtr GetAllocator()

Returns

IntPtr

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetMaxsize()

public nuint GetMaxsize()

Returns

nuint

GetMiniObject()

public MiniObjectData GetMiniObject()

Returns

MiniObjectData

GetOffset()

public nuint GetOffset()

Returns

nuint

GetParent()

public IntPtr GetParent()

Returns

IntPtr

GetSize()

public nuint GetSize()

Returns

nuint

OwnedCopy()

public MemoryOwnedHandle OwnedCopy()

Returns

MemoryOwnedHandle

SetAlign(nuint)

public void SetAlign(nuint value)

Parameters

value nuint

SetAllocator(IntPtr)

public void SetAllocator(IntPtr value)

Parameters

value IntPtr

SetMaxsize(nuint)

public void SetMaxsize(nuint value)

Parameters

value nuint

SetMiniObject(MiniObjectData)

public void SetMiniObject(MiniObjectData value)

Parameters

value MiniObjectData

SetOffset(nuint)

public void SetOffset(nuint value)

Parameters

value nuint

SetParent(IntPtr)

public void SetParent(IntPtr value)

Parameters

value IntPtr

SetSize(nuint)

public void SetSize(nuint value)

Parameters

value nuint

UnownedCopy()

public MemoryUnownedHandle UnownedCopy()

Returns

MemoryUnownedHandle