Lines Matching +full:4 +full:- +full:byte
1 #------------------------------------------------------------------------------
3 # compress: file(1) magic for pure-compression formats (no archives)
13 !:mime application/x-compress
16 >2 byte&0x80 >0 block compressed
17 >2 byte&0x1f x %d bits
19 # gzip (GNU zip, not to be confused with Info-ZIP or PKWARE zip archiver)
25 # * Produce shorter output - notably, only report compression methods
27 # Note: find defs -iname '*.trid.xml' -exec grep -q '<Bytes>1F8B08' {} \; -ls
30 # KPR KOffice/Calligra KPresenter application/x-kpresenter
31 # KPT KOffice/Calligra KPresenter template? application/x-kpresenter
33 # SAV FarCry (demo) saved game http://www.farcry-thegame.com
39 >3 byte&0x18 =0
41 # mcd-monu-cad.trid.xml
42 >>10 string MCD Monu-Cad Drawing, Component or Font
43 #>>36 string Created\ with\ MONU-CAD
44 #!:mime application/octet-stream
45 # http://fileformats.archiveteam.org/wiki/Monu-CAD
46 # http://www.monucad.com/downloads/FullDemo-2005.EXE
53 #!:mime application/octet-stream
55 # /gxd/HOCKETT-STPAUL-WRHSE.gxd Drawing
56 # /gxd/POWERLAND-MILL-ADD-11.gxd Drawing v9.1.06
63 >>>0 use gzip-info
66 >>>-4 ulelong x \b, original size modulo 2^32 %u
68 #!:mime application/x-compressed-tar
69 #!:mime application/x-virtualbox-vbox-extpack
71 #!:mime image/svg+xml-compressed
73 # microcode-20180312.tgz
75 # lua-md5_1.2-1_i386_i486.ipk https://en.wikipedia.org/wiki/Opkg
76 # Oracle_VM_VirtualBox_Extension_Pack-5.0.12-104815.vbox-extpack
78 # 2020-07-19-Note-16-24.xoj https://xournal.sourceforge.net/manual.html
79 # MYgnucash-gz.gnucash https://wiki.gnucash.org/wiki/GnuCash_XML_format
80 # text-rotate.dia https://en.wikipedia.org/wiki/Dia_(software)
82 !:ext gz/tgz/tpz/ipk/vbox-extpack/svgz/blend/dia/gnucash/rdata/xoj
83 # FNAME/FCOMMENT bit implies file name/comment as iso-8859-1 text
84 >3 byte&0x18 >0 gzip compressed data
87 #!:mime application/x-compressed-tar
88 #!:mime application/x-abiword-compressed
89 #!:mime image/image/svg+xml-compressed
91 # RSI-Mega-Demo_Disk1.adz gzipped .adf http://fileformats.archiveteam.org/wiki/ADF_(Amiga)
95 >>0 use gzip-info
97 >>-4 ulelong x \b, original size modulo 2^32 %u
99 0 name gzip-info
100 #>2 byte x THIS iS GZIP
101 >2 byte <8 \b, reserved method
102 >2 byte >8 \b, unknown method
103 >3 byte &0x01 \b, ASCII
104 >3 byte &0x02 \b, has CRC
105 >3 byte &0x04 \b, extra field
106 >3 byte&0xC =0x08
108 >3 byte &0x10 \b, has comment
109 >3 byte &0x20 \b, encrypted
110 >4 ledate >0 \b, last modified: %s
111 >8 byte 2 \b, max compression
112 >8 byte 4 \b, max speed
113 >9 byte =0x00 \b, from FAT filesystem (MS-DOS, OS/2, NT)
114 >9 byte =0x01 \b, from Amiga
115 >9 byte =0x02 \b, from VMS
116 >9 byte =0x03 \b, from Unix
117 >9 byte =0x04 \b, from VM/CMS
118 >9 byte =0x05 \b, from Atari
119 >9 byte =0x06 \b, from HPFS filesystem (OS/2, NT)
120 >9 byte =0x07 \b, from MacOS
121 >9 byte =0x08 \b, from Z-System
122 >9 byte =0x09 \b, from CP/M
123 >9 byte =0x0A \b, from TOPS/20
124 >9 byte =0x0B \b, from NTFS filesystem (NT)
125 >9 byte =0x0C \b, from QDOS
126 >9 byte =0x0D \b, from Acorn RISCOS
128 #>-4 ulelong x \b, original size modulo 2^32 %u
131 # packed data, Huffman (minimum redundancy) codes on a byte-by-byte basis
133 !:mime application/octet-stream
138 # This magic number is byte-order-independent.
140 !:mime application/octet-stream
142 # XXX - why *two* entries for "compacted data", one of which is
143 # byte-order independent, and one of which is byte-order dependent?
146 !:mime application/octet-stream
150 !:mime application/octet-stream
152 !:mime application/octet-stream
156 !:mime application/x-bzip2
158 >3 byte >47 \b, block size = %c00k
160 # bzip a block-sorting file compressor
163 !:mime application/x-bzip
164 >3 byte >47 \b, block size = %c00k
168 !:mime application/x-lzip
170 >4 byte x \b, version: %d
173 # Michael Haardt <michael@cantor.informatik.rwth-aachen.de>
175 >4 string x original name %s
185 # SCO compress -H (LZH)
186 0 string \037\240 SCO compress -H (LZH) data
188 # European GSM 06.10 is a provisional standard for full-rate speech
189 # transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse
192 # There's only a magic nibble (4 bits); that nibble repeats every 33
197 #0 byte&0xF0 0xd0 data
198 #>33 byte&0xF0 0xd0
199 #>66 byte&0xF0 0xd0
200 #>99 byte&0xF0 0xd0
201 #>132 byte&0xF0 0xd0 GSM 06.10 compressed audio
203 # lzop from <markus.oberhumer@jk.uni-linz.ac.at>
206 !:mime application/x-lzop
208 >>9 byte&0xf0 =0x00 - version 0.
210 >>13 byte 1 LZO1X-1,
211 >>13 byte 2 LZO1X-1(15),
212 >>13 byte 3 LZO1X-999,
214 >>14 byte =0x00 os: MS-DOS
215 >>14 byte =0x01 os: Amiga
216 >>14 byte =0x02 os: VMS
217 >>14 byte =0x03 os: Unix
218 >>14 byte =0x05 os: Atari
219 >>14 byte =0x06 os: OS/2
220 >>14 byte =0x07 os: MacOS
221 >>14 byte =0x0A os: Tops/20
222 >>14 byte =0x0B os: WinNT
223 >>14 byte =0x0E os: Win32
225 >>9 byte&0xf0 =0x00 - version 0.
226 >>9 byte&0xf0 =0x10 - version 1.
227 >>9 byte&0xf0 =0x20 - version 2.
229 >>15 byte 1 LZO1X-1,
230 >>15 byte 2 LZO1X-1(15),
231 >>15 byte 3 LZO1X-999,
233 >>17 byte =0x00 os: MS-DOS
234 >>17 byte =0x01 os: Amiga
235 >>17 byte =0x02 os: VMS
236 >>17 byte =0x03 os: Unix
237 >>17 byte =0x05 os: Atari
238 >>17 byte =0x06 os: OS/2
239 >>17 byte =0x07 os: MacOS
240 >>17 byte =0x0A os: Tops/20
241 >>17 byte =0x0B os: WinNT
242 >>17 byte =0x0E os: Win32
244 # 4.3BSD-Quasijarus Strong Compression
252 >4 belong 0x09090909 fast compression
253 >4 belong 0x090A0A0A mediocre compression
254 >4 belong 0x090A0B0B good compression
255 >4 belong 0x090A0C0C very good compression
256 >4 belong 0x090A0C0D best compression
258 # 7-zip archiver, from Thomas Klausner (wiz@danbala.tuwien.ac.at)
259 # https://www.7-zip.org or DOC/7zFormat.txt
261 0 string 7z\274\257\047\034 7-zip archive data,
262 >6 byte x version %d
263 >7 byte x \b.%d
264 !:mime application/x-7z-compressed
268 !:mime application/x-lzma
271 >5 lequad !0xffffffffffffffff non-streamed, size %lld
280 # http://tukaani.org/xz/xz-file-format.txt
283 !:mime application/x-xz
285 >7 byte&0xf 0x0 NONE
286 >7 byte&0xf 0x1 CRC32
287 >7 byte&0xf 0x4 CRC64
288 >7 byte&0xf 0xa SHA-256
292 !:mime application/x-lrzip
293 >4 byte x - version %d
294 >5 byte x \b.%d
295 >22 byte 1 \b, encrypted
297 # https://fastcompression.blogspot.fi/2013/04/lz4-streaming-format-final.html
298 0 lelong 0x184d2204 LZ4 compressed data (v1.4+)
299 !:mime application/x-lz4
301 # Added by osm0sis@xda-developers.com
302 0 lelong 0x184c2103 LZ4 compressed data (v1.0-v1.3)
303 !:mime application/x-lz4
304 0 lelong 0x184c2102 LZ4 compressed data (v0.1-v0.9)
305 !:mime application/x-lz4
310 >(4.l+8) indirect x
313 0 name zstd-dictionary-id
315 >0 byte &0x20 \b, Dictionary ID:
316 >>0 byte&0x03 0 None
317 >>0 byte&0x03 1
318 >>>1 byte x %u
319 >>0 byte&0x03 2
321 >>0 byte&0x03 3
324 >0 byte ^0x20 \b, Dictionary ID:
325 >>0 byte&0x03 0 None
326 >>0 byte&0x03 1
327 >>>2 byte x %u
328 >>0 byte&0x03 2
330 >>0 byte&0x03 3
341 0 lelong 0xFD2FB524 Zstandard compressed data (v0.4)
353 >4 use zstd-dictionary-id
357 >4 use zstd-dictionary-id
361 !:mime application/x-std-dictionary
362 >4 lelong x (ID %u)
365 2 string -afx- AFX compressed file data
374 >4 byte x - version %d
375 >5 byte x \b.%d
393 !:mime application/x-snappy-framed
397 !:mime application/x-qpress
402 >>0 byte&0xf =8
403 >>>0 byte&0x80 =0 zlib compressed data
408 >3 byte 0 BWC compressed data
415 >4 leshort x \b, version %d
420 0 string bvx- lzfse encoded, no compression
425 # https://support-docs.illumina.com/SW/ORA_Format_Specification/Content/SW/ORA/ORAFormatSpecificati…
433 >>26 ulelong x \b, N-position buffer size %u
447 # https://support-docs.illumina.com/SW/ORA_Format_Specification/Content/\
451 >-261 short =0x7C49 with metadata:
452 >-125 u8 x NB reads: %llu,
453 >-109 u8 x NB bases: %llu.
454 >-219 u4&0x02 2 File contains interleaved paired reads
456 # https://github.com/xamarin/xamarin-android/pull/4686
457 0 string XALZ Xamarin LZ4-compressed assembly