]> git.cworth.org Git - apitrace/blobdiff - trace_snappyfile.hpp
Implement scanning/skipping of fragments of the trace
[apitrace] / trace_snappyfile.hpp
index 6c0c9add1f8fbe72e33703baccaf0075b57fea4f..ecf39dedbe649a470f531aaba1bf56918812e797 100644 (file)
@@ -62,6 +62,7 @@ protected:
     virtual int rawGetc();
     virtual void rawClose();
     virtual void rawFlush();
+    virtual bool rawSkip(unsigned length);
 
 private:
     inline int freeCacheSize() const
@@ -75,7 +76,6 @@ private:
     {
         return m_stream.eof() && freeCacheSize() == 0;
     }
-
     void flushCache();
     void createCache(size_t size);
     void writeCompressedLength(uint32_t  num);