System.Buffers
Provides a resource pool that enables reusing instances of type .
The type of the objects that are in the resource pool.
Initializes a new instance of the class.
Creates a new instance of the class.
A new instance of the class.
Creates a new instance of the class using the specifed configuration.
The maximum length of an array instance that may be stored in the pool.
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.
A new instance of the class with the specified configuration.
Retrieves a buffer that is at least the requested length.
The minimum length of the array.
An array of type that is at least minimumLength in length.
Returns an array to the pool that was previously obtained using the method on the same instance.
A buffer to return to the pool that was previously obtained using the method.
Indicates whether the contents of the buffer should be cleared before reuse. If clearArray is set to true, and if the pool will store the buffer to enable subsequent reuse, the method will clear the array of its contents so that a subsequent caller using the method will not see the content of the previous caller. If clearArray is set to false or if the pool will release the buffer, the array's contents are left unchanged.
Gets a shared instance.
A shared instance.