#include <array.h>
Inheritance diagram for PBYTEArray:
PBYTEArray::PBYTEArray | ( | PINDEX | initialSize = 0 |
) |
Construct a new dynamic array of unsigned chars. The array is initialised to all zeros.
initialSize | Initial number of elements in the array. |
PBYTEArray::PBYTEArray | ( | BYTE const * | buffer, | |
PINDEX | length, | |||
BOOL | dynamic = TRUE | |||
) |
Construct a new dynamic array of unsigned chars.
buffer | Pointer to an array of BYTEs. |
length | Number of elements pointed to by buffer#. |
dynamic | Buffer is copied and dynamically allocated. |
PBYTEArray::PBYTEArray | ( | PINDEX | initialSize = 0 |
) |
Construct a new dynamic array of unsigned chars. The array is initialised to all zeros.
initialSize | Initial number of elements in the array. |
PBYTEArray::PBYTEArray | ( | BYTE const * | buffer, | |
PINDEX | length, | |||
BOOL | dynamic = TRUE | |||
) |
Construct a new dynamic array of unsigned chars.
buffer | Pointer to an array of BYTEs. |
length | Number of elements pointed to by buffer#. |
dynamic | Buffer is copied and dynamically allocated. |