Interface IMemoryStreamPool
- Namespace
- CodeProject.ObjectPool.Specialized
- Assembly
- CodeProject.ObjectPool.dll
An object pool specialized in MemoryStream management.
public interface IMemoryStreamPool : IObjectPool<PooledMemoryStream>
- Inherited Members
Properties
MaximumMemoryStreamCapacity
Maximum capacity a MemoryStream might have in order to be able to return to pool. Defaults to DefaultMaximumMemoryStreamCapacity.
int MaximumMemoryStreamCapacity { get; set; }
Property Value
MinimumMemoryStreamCapacity
Minimum capacity a MemoryStream should have when created and this is the minimum capacity of all streams stored in the pool. Defaults to DefaultMinimumMemoryStreamCapacity.
int MinimumMemoryStreamCapacity { get; set; }