- <param name="clearArray">Indicates whether the contents of the buffer should be cleared before reuse. If <paramref name="bufferLength"/> is set to <see langword="true" />, and if the pool will store the buffer to enable subsequent reuse, the <see cref="Return"/> method will clear the <paramref name="array"/> of its contents so that a subsequent consumer using the <see cref="Rent"/> method will not see the previous consumer's content. If <paramref name="bufferLength"/> is set to <see langword="false" /> or if the pool will release the buffer, the array's contents are left unchanged.</param>
0 commit comments