1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
# TODO: tests descorator with different types, move this test
$ fq -C d json.gz
|[33;4m00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f[39;24m|[33;4m0123456789abcdef[39;24m|.{}: json.gz (gzip)
| | | [94mmembers[39m[[36m0[39m:[36m1[39m]:
| | | [94m[39m[[36m0[39m]{}: member
[33m0x000[39m|[1m1f[22m [1m8b[22m |[1m.[22m[1m.[22m | [94midentification[39m: [32mraw bits[39m (valid)
[33m0x000[39m| [1m08[22m | [1m.[22m | [94mcompression_method[39m: [32m"deflate"[39m ([36m8[39m)
| | | [94mflags[39m{}:
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mtext[39m: [33mfalse[39m
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mheader_crc[39m: [33mfalse[39m
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mextra[39m: [33mfalse[39m
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mname[39m: [33mfalse[39m
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mcomment[39m: [33mfalse[39m
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mreserved[39m: [36m0[39m
[33m0x000[39m| 65 0a [1m08[22m 61 | e.[1m.[22ma | [94mmtime[39m: [36m1627916901[39m (2021-08-02T15:08:21Z)
[33m0x000[39m| [90m00[39m | [90m.[39m | [94mextra_flags[39m: [36m0[39m
[33m0x000[39m| [1m03[22m | [1m.[22m | [94mos[39m: [32m"unix"[39m ([36m3[39m)
|[33;4m00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f[39;24m|[33;4m0123456789abcdef[39;24m|
[33m0x0[0m|7b 22 61 22 3a 20 31 32 33 7d 0a| |{"a": 123}.| | [94muncompressed[39m: [32mraw bits[39m
[33m0x000[39m| [1mab[22m 56 4a 54 [1mb2[22m 52| [1m.[22mVJT[1m.[22mR| [94mcompressed[39m: [32mraw bits[39m
[33m0x010[39m|30 34 32 [1mae[22m [1me5[22m [1m02[22m [90m00[39m |042[1m.[22m[1m.[22m[1m.[22m[90m.[39m |
[33m0x010[39m| 20 [1mac[22m [1md2[22m [1m9c[22m | [1m.[22m[1m.[22m[1m.[22m | [94mcrc32[39m: [36m0x9cd2ac20[39m (valid)
[33m0x010[39m| 0b [90m00[39m [90m00[39m [90m00[39m| | .[90m.[39m[90m.[39m[90m.[39m|| [94misize[39m: [36m11[39m
|[33;4m00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f[39;24m|[33;4m0123456789abcdef[39;24m|
[33m0x0[0m|7b 22 61 22 3a 20 31 32 33 7d 0a| |{"a": 123}.| | [94muncompressed[39m: {} (json)
|