MemoryRental<T>
Represents the memory obtained from the pool or allocated
on the stack or heap.
Global recommended number of elements that can be allocated on the stack.
Gets a value indicating that this object
doesn't reference rented memory.
Gets the memory element by its index.
Gets length of the rented memory.
Gets the rented memory.
Rents the memory referenced by the span.
Rents the memory referenced by the span.
Rents the memory from the pool.
Rents the memory from the pool.
Rents the memory from Shared.
Converts the reference to the already allocated memory
into the rental object.
Returns the memory back to the pool.
Obtains managed pointer to the first element of the rented array.