summaryrefslogtreecommitdiff
path: root/spec/emz.fspec
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-09-16 10:54:51 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-09-19 20:44:55 +0300
commitd98285e367c29ec9eb1cacf5cf424d6910270efd (patch)
tree8b452a322c1acceecffeb647f9774949b17d7516 /spec/emz.fspec
parentcc333c5f12a91a894a116130eebb30ed0474db47 (diff)
redesign
Diffstat (limited to 'spec/emz.fspec')
-rw-r--r--spec/emz.fspec10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/emz.fspec b/spec/emz.fspec
index 0fe02a1..9eb90a4 100644
--- a/spec/emz.fspec
+++ b/spec/emz.fspec
@@ -1,7 +1,7 @@
struct emz {
- header: u8[4] | matches('#EMZ') str;
- unknown: u32 hex; // most likely redunancy check (crc32?)
- size: u32;
- offset: u32; // always 16?
- data: u8[$] | compression('deflate', size) hex;
+ u8 header[4] | matches('#EMZ') str;
+ u32 unknown hex; // most likely redunancy check (crc32?)
+ u32 size;
+ u32 offset; // always 16?
+ u8 data[$] | compression('deflate', size) hex;
};