/* * buffer.hpp * * Created on: 7 сент. 2022 г. * Author: alexander */ #pragma once #include namespace zh { class Buffer { private: const unsigned short int _size; std::unique_ptr _buffer; public: Buffer(const unsigned short int size); const unsigned short int getSize() const; const std::string getString() const; void clear(); operator char*(); }; }