JsonArrayPool<T> Class

Namespace
Microsoft.AspNetCore.Mvc.Formatters.Json.Internal
Assemblies
  • Microsoft.AspNetCore.Mvc.Formatters.Json

Syntax

public class JsonArrayPool<T> : IArrayPool<T>
class Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.JsonArrayPool<T>

Constructors

JsonArrayPool(System.Buffers.ArrayPool<T>)
public JsonArrayPool(ArrayPool<T> inner)

Methods

Rent(System.Int32)
Return type:T[]
public T[] Rent(int minimumLength)
Return(T[])
public void Return(T[] array)