aboutsummaryrefslogtreecommitdiff
path: root/src/rez/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rez/entry.cpp')
-rw-r--r--src/rez/entry.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rez/entry.cpp b/src/rez/entry.cpp
new file mode 100644
index 0000000..2e2f73e
--- /dev/null
+++ b/src/rez/entry.cpp
@@ -0,0 +1,10 @@
+#include <rez/entry.h>
+#include <rez/io.h>
+
+int rez::entry::read(rez::io &io)
+{
+ return io.read_le(type)
+ || io.read_le(pos)
+ || io.read_le(size)
+ || io.read_le(time);
+}