This repository was archived by the owner on Sep 27, 2019. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathSystem.Buffers.xml
More file actions
Latest commit
39 lines (39 loc) · 3.08 KB
/
Copy pathSystem.Buffers.xml
File metadata and controls
39 lines (39 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?><span>
<doc>
<assembly>
<name>System.Buffers</name>
</assembly>
<members>
<membername="T:System.Buffers.ArrayPool`1">
<summary>Provides a resource pool that enables reusing instances of type <seecref="T[]"></see>.</summary>
<typeparamname="T">The type of the objects that are in the resource pool.</typeparam>
</member>
<membername="M:System.Buffers.ArrayPool`1.#ctor">
<summary>Initializes a new instance of the <seecref="ArrayPool{T}"></see> class.</summary>
</member>
<membername="M:System.Buffers.ArrayPool`1.Create">
<summary>Creates a new instance of the <seecref="ArrayPool{T}"></see> class.</summary>
<returns>A new instance of the <seecref="ArrayPool{T}"></see> class.</returns>
</member>
<membername="M:System.Buffers.ArrayPool`1.Create(System.Int32,System.Int32)">
<summary>Creates a new instance of the <seecref="ArrayPool{T}"></see> class using the specifed configuration.</summary>
<paramname="maxArrayLength">The maximum length of an array instance that may be stored in the pool.</param>
<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>
<returns>A new instance of the <seecref="ArrayPool{T}"></see> class with the specified configuration.</returns>
</member>
<membername="M:System.Buffers.ArrayPool`1.Rent(System.Int32)">
<summary>Retrieves a buffer that is at least the requested length.</summary>
<paramname="minimumLength">The minimum length of the array.</param>
<returns>An array of type <seecref="T[]"></see> that is at least <paramrefname="minimumLength">minimumLength</paramref> in length.</returns>
</member>
<membername="M:System.Buffers.ArrayPool`1.Return(`0[],System.Boolean)">
<summary>Returns an array to the pool that was previously obtained using the <seecref="Rent"></see> method on the same <seecref="ArrayPool{T}"></see> instance.</summary>
<paramname="array">A buffer to return to the pool that was previously obtained using the <seecref="Rent"></see> method.</param>
<paramname="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramrefname="bufferLength">bufferLength</paramref> is set to true, and if the pool will store the buffer to enable subsequent reuse, the <seecref="Return"></see> method will clear the <paramrefname="array">array</paramref> of its contents so that a subsequent caller using the <seecref="Rent"></see> method will not see the content of the previous caller. If <paramrefname="bufferLength">bufferLength</paramref> is set to false or if the pool will release the buffer, the array's contents are left unchanged.</param>
</member>
<membername="P:System.Buffers.ArrayPool`1.Shared">
<summary>Gets a shared <seecref="ArrayPool{T}"></see> instance.</summary>
<returns>A shared <seecref="ArrayPool{T}"></see> instance.</returns>
</member>
</members>
</doc></span>