#ifndef FILEWRITER_HPP #define FILEWRITER_HPP #include class FileWriter{ private: FILE* fd; public: FileWriter(const char* path); void write(const char* data, unsigned int length); void reset(); void seekTo(unsigned int length); unsigned int getCurrentFileSize(); ~FileWriter(); }; #endif // FILEWRITER_H