Class BufferHandle
public abstract class BufferHandle : SafeHandle, IDisposable, IEquatable<BufferHandle>
- Inheritance
-
BufferHandle
- Implements
- Derived
- Inherited Members
Constructors
BufferHandle(bool)
protected BufferHandle(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
Methods
Equals(BufferHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BufferHandle? other)
Parameters
other
BufferHandleAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetDts()
public ulong GetDts()
Returns
GetDuration()
public ulong GetDuration()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMiniObject()
public MiniObjectData GetMiniObject()
Returns
GetOffset()
public ulong GetOffset()
Returns
GetOffsetEnd()
public ulong GetOffsetEnd()
Returns
GetPool()
public IntPtr GetPool()
Returns
GetPts()
public ulong GetPts()
Returns
OwnedCopy()
public BufferOwnedHandle OwnedCopy()
Returns
SetDts(ulong)
public void SetDts(ulong value)
Parameters
value
ulong
SetDuration(ulong)
public void SetDuration(ulong value)
Parameters
value
ulong
SetMiniObject(MiniObjectData)
public void SetMiniObject(MiniObjectData value)
Parameters
value
MiniObjectData
SetOffset(ulong)
public void SetOffset(ulong value)
Parameters
value
ulong
SetOffsetEnd(ulong)
public void SetOffsetEnd(ulong value)
Parameters
value
ulong
SetPool(IntPtr)
public void SetPool(IntPtr value)
Parameters
value
IntPtr
SetPts(ulong)
public void SetPts(ulong value)
Parameters
value
ulong
UnownedCopy()
public BufferUnownedHandle UnownedCopy()