flush file streamer after each write

This commit is contained in:
Samuliak 2024-12-01 18:57:57 +01:00
parent f71046333d
commit 1752126f5c
No known key found for this signature in database
4 changed files with 18 additions and 5 deletions

View file

@ -22,6 +22,8 @@ class FileStream
bool SetEndOfFile();
void extract(std::vector<uint8>& data);
void Flush();
// reading
uint32 readData(void* data, uint32 length);
bool readU64(uint64& v);