<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />

IArrayPool<T>

public interface IArrayPool<T>
Provides an interface for using pooled arrays.
using System.Runtime.CompilerServices; namespace Newtonsoft.Json { [System.Runtime.CompilerServices.NullableContext(1)] public interface IArrayPool<[System.Runtime.CompilerServices.Nullable(2)] T> { T[] Rent(int minimumLength); void Return([System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] T[] array); } }