#include #include #include #pragma warning(disable:4996) #include "Bytex.h" class HexEditor { Bytex* fileBuffer; size_t count; size_t length; char* originalFilePath; // There are no actual restrictions on path lengths in Linux char bytexToReadableChar(const Bytex& bytex) const; void resizeBuffer(); public: HexEditor(const char* filePath); ~HexEditor(); void change(size_t index, const Bytex& bytex); void add(const Bytex& bytex); void remove(); void viewFile() const; void save() const; void saveAs(const char* filePath) const; };