File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Compression parameters have the following default values:
35
35
36
36
You can calculate the ` dict_size ` using the following method:
37
37
38
- ``` {.c}
38
+ ``` c
39
39
unsigned int i = 0 ;
40
40
41
41
for (i = 0 ; i < 40 ; i++) {
@@ -103,14 +103,14 @@ The second byte of the `lzma2_header` carries the following parameters:
103
103
104
104
These parameters are encoded with the following formula:
105
105
106
- ``` {.c}
106
+ ``` c
107
107
pb_lp_lc = (uint8_t )((pb * 5 + lp) * 9 + lc);
108
108
```
109
109
110
110
To decode these values from the combined `pb_lp_lc` byte, run the
111
111
following code:
112
112
113
- ``` {.c}
113
+ ```c
114
114
lc = pb_lp_lc % 9 ;
115
115
pb_lp_lc /= 9 ;
116
116
pb = pb_lp_lc / 5 ;
@@ -132,13 +132,13 @@ steps:
132
132
133
133
- Without an ARM thumb filter:
134
134
135
- ``` {. bash}
135
+ ```bash
136
136
unlzma --lzma2 --format=raw --suffix=.lzma raw.lzma
137
137
```
138
138
139
139
- With an ARM thumb filter:
140
140
141
- ``` {. bash}
141
+ ```bash
142
142
unlzma --armthumb --lzma2 --format=raw --suffix=.lzma raw.lzma
143
143
```
144
144
You can’t perform that action at this time.
0 commit comments