We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17629c7 commit 152d21fCopy full SHA for 152d21f
archive/bzip3.ksy
@@ -0,0 +1,35 @@
1
+meta:
2
+ id: bzip3
3
+ title: Bzip3 header
4
+ file-extension: bz3
5
+ license: LGPL-3.0
6
+ encoding: UTF-8
7
+ endian: le
8
+doc-ref: https://github.com/kspalaiologos/bzip3
9
+seq:
10
+ - id: header
11
+ type: header
12
+ - id: blocks
13
+ type: compressed_data_block
14
+ repeat: until
15
+ repeat-until: _io.eof or _.is_last
16
+types:
17
+ header:
18
+ seq:
19
+ - id: signature
20
+ contents: 'BZ3v1'
21
+ - id: block_size
22
+ type: u4
23
+ compressed_data_block:
24
25
+ - id: len_compressed
26
27
+ - id: len_uncompressed
28
29
+ valid:
30
+ max: _root.header.block_size
31
+ - id: data
32
+ size: len_compressed
33
+ instances:
34
+ is_last:
35
+ value: len_uncompressed < _root.header.block_size
0 commit comments