Core/File: Add SetSize method (currently missing Posix implementation!)

Former-commit-id: c9ffb545485d90940d620e94fd25a7256d62ab58
This commit is contained in:
Lynix
2016-04-29 14:20:22 +02:00
parent e5a7bd52dd
commit 019c1f4a36
4 changed files with 47 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ namespace Nz
bool Open(const String& filePath, UInt32 mode);
std::size_t Read(void* buffer, std::size_t size);
bool SetCursorPos(CursorPosition pos, Int64 offset);
bool SetSize(UInt64 size);
std::size_t Write(const void* buffer, std::size_t size);
FileImpl& operator=(const FileImpl&) = delete;