Method Reset
Reset()
Resets the pool to its initial state reusing the first buffer and fills all
buffers with 0
bytes before they reused or passed to
RecycleByteBlocks(Byte[][], Int32, Int32). Calling
NextBuffer() is not needed after reset.
Declaration
public void Reset()
Reset(Boolean, Boolean)
Expert: Resets the pool to its initial state reusing the first buffer. Calling NextBuffer() is not needed after reset.
Declaration
public void Reset(bool zeroFillBuffers, bool reuseFirst)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | zeroFillBuffers | if |
System.Boolean | reuseFirst | if |