Property Capacity
Capacity
Gets or sets the number of bytes allocated for this stream.
public override int Capacity { get; set; }
Property Value
- int
The length of the usable portion of the buffer for the stream.
Exceptions
- ArgumentOutOfRangeException
The capacity is set to a value less than zero or greater than KZDev.PerfUtils.MemoryStreamSlim.MaximumCapacity.