Remove string from buffer

This commit is contained in:
Nikola Petrov
2024-08-12 21:43:12 +02:00
parent aaf5e45824
commit 2f4ad253a1
2 changed files with 4 additions and 20 deletions

View File

@@ -11,7 +11,6 @@ public:
uint8_t *buffer = nullptr;
size_t taken = 0;
size_t size = 0;
std::string file_path;
Buffer(size_t size);
Buffer();
@@ -31,10 +30,7 @@ public:
void clear() { taken = 0; }
bool save_to_file();
bool save_to_file(std::string file_path);
bool load_from_file();
bool load_from_file(std::string file_path);
};