Class BaseParseFrameHandle
public abstract class BaseParseFrameHandle : SafeHandle, IDisposable, IEquatable<BaseParseFrameHandle>
- Inheritance
-
BaseParseFrameHandle
- Implements
- Derived
- Inherited Members
Constructors
BaseParseFrameHandle(bool)
protected BaseParseFrameHandle(bool ownsHandle)
Parameters
ownsHandlebool
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(BaseParseFrameHandle?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BaseParseFrameHandle? other)
Parameters
otherBaseParseFrameHandleAn 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
objobjectThe object to compare with the current object.
Returns
GetBuffer()
public nint GetBuffer()
Returns
GetFlags()
public uint GetFlags()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetOffset()
public ulong GetOffset()
Returns
GetOutBuffer()
public nint GetOutBuffer()
Returns
GetOverhead()
public int GetOverhead()
Returns
OwnedCopy()
public BaseParseFrameOwnedHandle OwnedCopy()
Returns
SetBuffer(nint)
public void SetBuffer(nint value)
Parameters
valuenint
SetFlags(uint)
public void SetFlags(uint value)
Parameters
valueuint
SetOffset(ulong)
public void SetOffset(ulong value)
Parameters
valueulong
SetOutBuffer(nint)
public void SetOutBuffer(nint value)
Parameters
valuenint
SetOverhead(int)
public void SetOverhead(int value)
Parameters
valueint
UnownedCopy()
public BaseParseFrameUnownedHandle UnownedCopy()