expanding<T> static method
Like fixed but Overflow will cause the buffer to expand dynamically.
Buffer will be created with initialSize
and will expand on demand.
No messages are lost.
Implementation
static Buffer<T> expanding<T>([int initialSize = 10]) {
return _ExpandingBuffer<T>(initialSize);
}