1 #ifndef MSP_IO_SEEKABLE_H_
2 #define MSP_IO_SEEKABLE_H_
12 typedef __int64 SeekOffset;
14 typedef long long SeekOffset;
25 class Seekable: public Base
31 /** Changes the read/write offset. Returns the new offset. */
32 virtual SeekOffset seek(SeekOffset, SeekType) = 0;
34 /** Returns the current read/write offset. */
35 virtual SeekOffset tell() const = 0;
39 SeekOffset sys_seek(Handle &, SeekOffset, SeekType);