summaryrefslogtreecommitdiff
path: root/spec/bsw.fspec
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bsw.fspec')
-rw-r--r--spec/bsw.fspec5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/bsw.fspec b/spec/bsw.fspec
new file mode 100644
index 0000000..5e868eb
--- /dev/null
+++ b/spec/bsw.fspec
@@ -0,0 +1,5 @@
+struct v {
+ u8 header[4] | matches('CWS\0') str;
+ u32 size dec;
+ u8 data[until(false)] | compression('zlib', size) hex;
+};