Method FastBuffer-1.More(+ 1 overload)
Overload
Allocates new bigger buffer of specified length. Frees old buffer if need.
public void More(int n, bool preserve = false)
Parameters
n (int)
Number of elements of type T. |
preserve (bool)
Copy previous buffer contents to the new buffer. |
Exceptions
ArgumentException
n <= current buffer length. |
Overload(top)
Allocates new bigger buffer of at least n*2
length. Frees old buffer if need.
public void More(bool preserve = false)
Parameters
preserve (bool)
Copy previous buffer contents to the new buffer. |