Fix buffering issues

This commit is contained in:
SirLynix
2022-04-19 13:38:44 +02:00
parent d9ab6720d8
commit 138f2b88b3
14 changed files with 99 additions and 112 deletions

View File

@@ -35,9 +35,6 @@ namespace Nz
bool Delete();
bool EndOfFile() const;
bool EndOfStream() const override;
bool Exists() const;
std::filesystem::path GetDirectory() const override;
@@ -64,6 +61,7 @@ namespace Nz
std::size_t ReadBlock(void* buffer, std::size_t size) override;
bool SeekStreamCursor(UInt64 offset) override;
UInt64 TellStreamCursor() const override;
bool TestStreamEnd() const override;
std::size_t WriteBlock(const void* buffer, std::size_t size) override;
std::filesystem::path m_filePath;