38 for (
int i = 0; i <
len; i++)
54 for (
long i = 0; i <
len; i++) {
67 for (
long i = 0; i <
len; i++) {
82 for (
long i =
len; i > 0; i--) {
113 for (
int i = 0; i <
len; i++)
145 for (
int i = 0; i <
len; i++)
147 for (
int i = 0; i <
a.len; i++)
148 nb[
len + i] =
a.buff[i];
An array of bufferStores.
void push(const bufferStore &b)
Inserts a bufferStore at index 0.
bufferStore pop(void)
Removes the first bufferStore.
~bufferArray()
Destroys the bufferArray.
long lenAllocd
The current number of bufferStores allocated.
long length(void)
Evaluates the current length.
bufferArray operator+(const bufferStore &s)
Appends a bufferStore to a bufferArray.
bufferStore & operator[](const unsigned long index)
Retrieves the bufferStore at given index.
void clear(void)
Empties the bufferArray.
bufferArray()
constructs a new bufferArray.
static const long ALLOC_MIN
Minimum number of bufferStores to allocate.
bufferArray & operator=(const bufferArray &a)
Copys the bufferArray.
void append(const bufferStore &b)
Appends a bufferStore.
bufferStore * buff
The content.
bufferArray & operator+=(const bufferStore &s)
Appends a bufferStore to current instance.
long len
The current number of bufferStores in this bufferArray.
A generic container for an array of bytes.