#pragma once class DataStorage { public: size_t length; char *bytes; private: size_t capacity; public: DataStorage(); DataStorage(size_t size); ~DataStorage(); void appendBytes(const void *ptr, size_t size); };