Instantiates a new DataBuffer with initial capacity.
| C# |
public DataBuffer( int capacity )
- capacity (Int32)
- Number of elements the buffer can hold, with index range of [0, Length - 1]
| Exception | Condition |
|---|---|
| ArgumentException | Thrown if the capacity is not greater than zero. |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)