major folder reorganisation, R pkg is now epclust/ at first level. Experimental usage...
[epclust.git] / old_C_code / stage1 / src / TimeSeries / serialize.h
diff --git a/old_C_code/stage1/src/TimeSeries/serialize.h b/old_C_code/stage1/src/TimeSeries/serialize.h
new file mode 100644 (file)
index 0000000..af89cae
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef PPAM_SERIALIZE_H
+#define PPAM_SERIALIZE_H
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdint.h>
+
+//main job: parse a text file into a binary compressed version
+void serialize_byCols(const char* ifileName, const char* ofileName, uint32_t nbItems);
+
+//serialize from usual 'by-row' data
+void serialize_byRows(const char* ifileName, const char* ofileName, uint32_t nbItems);
+
+#endif