Struct HeapBlock
Represents a block of memory that you can use in a HeapAllocator to manage memory.
Syntax
public struct HeapBlock : IComparable<HeapBlock>, IEquatable<HeapBlock>
Properties
begin
The beginning of the allocated heap block.
Declaration
public readonly ulong begin { get; }
Property Value
Empty
Indicates whether the HeapBlock is empty. This is true if the HeapBlock is empty and false otherwise.
Declaration
public readonly bool Empty { get; }
Property Value
end
The end of the allocated heap block.
Declaration
public readonly ulong end { get; }
Property Value
Length
The length of the HeapBlock.
Declaration
public readonly ulong Length { get; }
Property Value
Methods
CompareTo(HeapBlock)
Declaration
public int CompareTo(HeapBlock other)
Parameters
Returns
Equals(HeapBlock)
Declaration
public bool Equals(HeapBlock other)
Parameters
Returns