fs/io/FileReader: add method Rewind()
This commit is contained in:
parent
d0dae177cf
commit
a07117ea55
@ -89,6 +89,10 @@ public:
|
|||||||
gcc_pure
|
gcc_pure
|
||||||
FileInfo GetFileInfo() const;
|
FileInfo GetFileInfo() const;
|
||||||
|
|
||||||
|
void Rewind() {
|
||||||
|
Seek(0);
|
||||||
|
}
|
||||||
|
|
||||||
void Seek(off_t offset);
|
void Seek(off_t offset);
|
||||||
void Skip(off_t offset);
|
void Skip(off_t offset);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user