25 LocalFile(
const char* file_name,
const char* mode);
29 bool Close()
override;
30 int64_t Read(
void* buffer, uint64_t length)
override;
31 int64_t Write(
const void* buffer, uint64_t length)
override;
32 void CloseForWriting()
override;
33 int64_t Size()
override;
34 bool Flush()
override;
35 bool Seek(uint64_t position)
override;
36 bool Tell(uint64_t* position)
override;
42 static bool Delete(
const char* file_name);
50 std::string file_mode_;