DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.15.1" />

 MemoryAllocator<T>

public sealed delegate MemoryAllocator<T> : MulticastDelegate
Represents memory allocator.
using System.Runtime.CompilerServices; namespace DotNext.Buffers { [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 1 })] public delegate MemoryOwner<T> MemoryAllocator<[System.Runtime.CompilerServices.Nullable(2)] T> (int length); }