blob: 82a2b87146bb88fa920d8e0bd986a94eef037830 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# first 5 header bytes of .lzma archives based on the info from
# /doc/lzma-file-format.txt
# byte 0 is created by encoding LZMA property values (lc, lp, pb)
# using the algorithm described in the documentation above.
# lc=3, lp=0, pb=2 and dictionary size = 0x00100000
"\x5d\x00\x00\x10\x00"
# lc=3, lp=1, pb=3 and dictionary size = 0x00100000
"\x93\x00\x00\x10\x00"
# lc=2, lp=2, pb=4 and dictionary size = 0x00100000
"\xc8\x00\x00\x10\x00"
# lc=1, lp=3, pb=1 and dictionary size = 0x00200000
"\x49\x00\x00\x20\x00"
# lc=0, lp=4, pb=0 and dictionary size = 0x00200000
"\x24\x00\x00\x20\x00"
|