Core/File: Add OpenMode::Defer

This commit is contained in:
SirLynix
2023-03-03 13:14:28 +01:00
parent 36d7e98299
commit 6bf4304817
4 changed files with 45 additions and 3 deletions

View File

@@ -60,6 +60,7 @@ namespace Nz
static bool WriteWhole(const std::filesystem::path& path, const void* data, std::size_t size);
private:
inline bool CheckFileOpening();
void FlushStream() override;
std::size_t ReadBlock(void* buffer, std::size_t size) override;
bool SeekStreamCursor(UInt64 offset) override;