diff options
| author | Stefan Boberg <[email protected]> | 2021-08-28 21:03:50 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-28 21:03:50 +0200 |
| commit | 5acd66ed9488664b2f1aaa238a3b982b06f4d115 (patch) | |
| tree | 43c928ddda0ef7480a29612906cb005ba3fa1fbc /zencore/include | |
| parent | trivial: Simple comment edit (diff) | |
| download | zen-5acd66ed9488664b2f1aaa238a3b982b06f4d115.tar.xz zen-5acd66ed9488664b2f1aaa238a3b982b06f4d115.zip | |
Added WriteFile() overload which accepts a single IoBuffer
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/filesystem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zencore/include/zencore/filesystem.h b/zencore/include/zencore/filesystem.h index d8140932b..a2d368d6f 100644 --- a/zencore/include/zencore/filesystem.h +++ b/zencore/include/zencore/filesystem.h @@ -43,7 +43,8 @@ struct FileContents ZENCORE_API FileContents ReadFile(std::filesystem::path Path); ZENCORE_API bool ScanFile(std::filesystem::path Path, uint64_t ChunkSize, std::function<void(const void* Data, size_t Size)>&& ProcessFunc); -ZENCORE_API bool WriteFile(std::filesystem::path Path, const IoBuffer* const* Data, size_t BufferCount); +ZENCORE_API void WriteFile(std::filesystem::path Path, const IoBuffer* const* Data, size_t BufferCount); +ZENCORE_API void WriteFile(std::filesystem::path Path, IoBuffer Data); struct CopyFileOptions { |