System::Buffers::ArrayPool::Create method

ArrayPool::Create method

Creates a new pool instance with custom configuration options.

static SharedPtr<ArrayPool<T>> System::Buffers::ArrayPool<T>::Create(int32_t maxArrayLength, int32_t maxArraysPerBucket)
ParameterTypeDescription
maxArrayLengthint32_tThe maximum array length that may be pooled.
maxArraysPerBucketint32_tThe maximum number of arrays kept in each bucket.

ReturnValue

An ArrayPool with the specified configuration.

See Also