1
1
mirror of https://github.com/wader/fq.git synced 2024-12-27 15:42:07 +03:00
fq/format/gzip/testdata/compressed_size.fqtest
Mattias Wadman 2dc509ab2f interp: Refactor dump and revert #259 for now
Causes address bar to not be shown in some cases.
Will have to rethink and redo the whole dump thing somehow.
2022-05-20 12:38:43 +02:00

15 lines
1.2 KiB
Plaintext

# this tests compressed size (TryFieldReaderRangeFormat)
$ fq -d gzip 'tobits | chunk(3) | gzip' test.gz
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: (gzip)
0x00|1f 8b |.. | identification: raw bits (valid)
0x00| 08 | . | compression_method: "deflate" (8)
0x00| 00 | . | flags{}:
0x00| 41 02 ea 5f | A.._ | mtime: 1609171521 (2020-12-28T16:05:21Z)
0x00| 00 | . | extra_flags: 0
0x00| 03 | . | os: "unix" (3)
0x0|74 65 73 74 0a| |test.| | uncompressed: raw bits
0x00| 2b 49 2d 2e e1 02| +I-...| compressed: raw bits
0x10|00 |. |
0x10| c6 35 b9 3b | .5.; | crc32: 0x3bb935c6 (valid)
0x10| 05 00 00 00| | ....| | isize: 5