Table of Contents

Property Capacity

Namespace
KZDev.PerfUtils
Assembly
KZDev.PerfUtils.dll

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 MaximumCapacity.