#ifndef STRING_H #define STRING_H #include "Types.h" class String { public: String(); operator const char*() const; String& append(char c); String& append(const char* str); bool receiveFromSocket(int socket); uint getLength() const; private: static const uint LENGTH = 8192; uint length; char data[LENGTH]; }; #endif