diff options
Diffstat (limited to 'coding/file_writer.hpp')
-rw-r--r-- | coding/file_writer.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coding/file_writer.hpp b/coding/file_writer.hpp index 0c1b9302b8..b5ef6a1c18 100644 --- a/coding/file_writer.hpp +++ b/coding/file_writer.hpp @@ -33,8 +33,10 @@ public: void Seek(int64_t pos); int64_t Pos() const; void Write(void const * p, size_t size); + uint64_t Size() const; void Flush(); + void Truncate(uint64_t sz); static void DeleteFileX(string const & fName); |