You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Creates a new instance of the <seecref="T:System.Buffers.ArrayPool`1"></see> class using the specifed configuration.</summary>
19
+
<paramname="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
20
+
<paramname="maxArraysPerBucket">The maximum number of array instances that may be stored in each bucket in the pool. The pool groups arrays of similar lengths into buckets for faster access.</param>
21
+
<returns>A new instance of the <seecref="System.Buffers.ArrayPool`1"></see> class with the specified configuration.</returns>
<summary>Returns an array to the pool that was previously obtained using the <seecref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method on the same <seecref="T:System.Buffers.ArrayPool`1"></see> instance.</summary>
30
+
<paramname="array">A buffer to return to the pool that was previously obtained using the <seecref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method.</param>
31
+
<paramname="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramrefname="clearArray">clearArray</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <seecref="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)"></see> method will clear the <paramrefname="array">array</paramref> of its contents so that a subsequent caller using the <seecref="M:System.Buffers.ArrayPool`1.Rent(System.Int32)"></see> method will not see the content of the previous caller. If <paramrefname="clearArray">clearArray</paramref> is set to false or if the pool will release the buffer, the array&#39;s contents are left unchanged.</param>
0 commit comments