System.Buffers.xml 3.1 KB

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