HeapCharArray(uint size) { data=new unsigned char[size]; }
class HeapCharArray { public: HeapCharArray(uint size) { data=new unsigned char[size]; } ~HeapCharArray() { delete[] data; } operator unsigned char *() const { return data; } unsigned char operator[](const unsigned int index) const { return data[index]; }
   HeapCharArray(uint size) { data=new unsigned char[size]; }