diff --git a/src/fs/io/FileReader.hxx b/src/fs/io/FileReader.hxx index d371b7de6..8e5ee9a12 100644 --- a/src/fs/io/FileReader.hxx +++ b/src/fs/io/FileReader.hxx @@ -89,6 +89,10 @@ public: gcc_pure FileInfo GetFileInfo() const; + void Rewind() { + Seek(0); + } + void Seek(off_t offset); void Skip(off_t offset);