Function SlabAllocator.GetSpan
GetSpan
(int allocatedIndex)
Get the span representing the given allocation.
Public
UnsafeSpan<T> GetSpan (
int | allocatedIndex |
Get the span representing the given allocation.
The returned array does not need to be disposed. It is only valid until the next call to Allocate, Free or Dispose.