Commit a07117ea authored by Max Kellermann's avatar Max Kellermann

fs/io/FileReader: add method Rewind()

parent d0dae177
......@@ -89,6 +89,10 @@ public:
gcc_pure
FileInfo GetFileInfo() const;
void Rewind() {
Seek(0);
}
void Seek(off_t offset);
void Skip(off_t offset);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment