An array of BufferStores.
void clear(void)
Empties the BufferArray.
BufferArray & operator=(const BufferArray &a)
Copys the BufferArray.
long length(void)
Evaluates the current length.
static const long ALLOC_MIN
Minimum number of BufferStores to allocate.
long lenAllocd
The current number of BufferStores allocated.
BufferArray operator+(const BufferStore &s)
Appends a BufferStore to a BufferArray.
BufferArray & operator+=(const BufferStore &s)
Appends a BufferStore to current instance.
~BufferArray()
Destroys the BufferArray.
bool empty() const
Checks if this BufferArray is empty.
BufferStore & operator[](const unsigned long index)
Retrieves the BufferStore at given index.
BufferStore * buff
The content.
void append(const BufferStore &b)
Appends a BufferStore.
BufferArray()
constructs a new BufferArray.
void push(const BufferStore &b)
Inserts a BufferStore at index 0.
long len
The current number of BufferStores in this BufferArray.
BufferStore pop(void)
Removes the first BufferStore.
A generic container for an array of bytes.