Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'coding/file_writer.hpp')
-rw-r--r--coding/file_writer.hpp2
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);