]> git.cworth.org Git - apitrace/blobdiff - trace_snappyfile.hpp
Fix writing/reading compressed length of the chunks.
[apitrace] / trace_snappyfile.hpp
index 5489069b0506eadf700b99e69e3ff2abf3d3e890..0cafa98fbd0fabb98da24427b74448b03581c212 100644 (file)
@@ -42,6 +42,8 @@ private:
     }
     void flushCache();
     void createCache(size_t size);
+    void writeCompressedLength(size_t num);
+    size_t readCompressedLength();
 private:
     std::fstream m_stream;
     char *m_cache;