#ifndef FILE_HELPER_H #define FILE_HELPER_H #include #include #include "Utils.h" class FileHelper { public: FileHelper(){} static bool ReadInputFile(QByteArray& arr, QString path, quint64* width, quint64* height); static bool ReadInputFile(myint* arr, QString path, quint64* width, quint64* height); static void GetFileSIze(QString path, quint64* width, quint64* height); static bool WriteOutputFile(char* arr, QString path, quint64 width, quint64 height); static bool WriteOutputFile(myflt* arr, QString path, quint64 width, quint64 height); }; #endif // FILE_HELPER_H