Instantiates a new DataBuffer with initial capacity.
Declaration Syntax
C# |
public DataBuffer( int capacity )
Parameters
- capacity (Int32)
- Number of elements the buffer can hold, with index range of [0, Length - 1]
Exceptions
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)