fs/io/FileReader: add method Rewind()

This commit is contained in:
Max Kellermann 2016-08-27 12:09:17 +02:00
parent d0dae177cf
commit a07117ea55

View File

@ -89,6 +89,10 @@ public:
gcc_pure
FileInfo GetFileInfo() const;
void Rewind() {
Seek(0);
}
void Seek(off_t offset);
void Skip(off_t offset);