1
1
mirror of https://github.com/wader/fq.git synced 2024-12-21 12:21:39 +03:00
fq/format/asn1/testdata/tc36.ber.fqtest

41 lines
4.3 KiB
Plaintext
Raw Normal View History

$ fq -d asn1_ber dv tc36.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc36.ber (asn1_ber) 0x0-0x13.7 (20)
0x00|23 |# | class: "universal" (0) 0x0-0x0.1 (0.2)
0x00|23 |# | form: "constructed" (1) 0x0.2-0x0.2 (0.1)
0x00|23 |# | tag: "bit_string" (0x3) 0x0.3-0x0.7 (0.5)
0x00| 80 | . | length: "indefinite" (0) 0x1-0x1.7 (1)
| | | constructed[0:2]: 0x2-0x11.7 (16)
| | | [0]{}: object 0x2-0xd.7 (12)
0x00| 23 | # | class: "universal" (0) 0x2-0x2.1 (0.2)
0x00| 23 | # | form: "constructed" (1) 0x2.2-0x2.2 (0.1)
0x00| 23 | # | tag: "bit_string" (0x3) 0x2.3-0x2.7 (0.5)
0x00| 80 | . | length: "indefinite" (0) 0x3-0x3.7 (1)
| | | constructed[0:2]: 0x4-0xb.7 (8)
| | | [0]{}: object 0x4-0x7.7 (4)
0x00| 03 | . | class: "universal" (0) 0x4-0x4.1 (0.2)
0x00| 03 | . | form: "primitive" (0) 0x4.2-0x4.2 (0.1)
0x00| 03 | . | tag: "bit_string" (0x3) 0x4.3-0x4.7 (0.5)
0x00| 02 | . | length: 2 0x5-0x5.7 (1)
0x00| 00 | . | unused_bits_count: 0 0x6-0x6.7 (1)
0x00| 01 | . | value: raw bits 0x7-0x7.7 (1)
| | | [1]{}: object 0x8-0xb.7 (4)
0x00| 03 | . | class: "universal" (0) 0x8-0x8.1 (0.2)
0x00| 03 | . | form: "primitive" (0) 0x8.2-0x8.2 (0.1)
0x00| 03 | . | tag: "bit_string" (0x3) 0x8.3-0x8.7 (0.5)
0x00| 02 | . | length: 2 0x9-0x9.7 (1)
0x00| 01 | . | unused_bits_count: 1 0xa-0xa.7 (1)
0x00| 02 | . | value: raw bits 0xb-0xb.6 (0.7)
0x00| 02 | . | unused_bits: raw bits 0xb.7-0xb.7 (0.1)
0x00| 00 00 | .. | end_marker: 0 0xc-0xd.7 (2)
0x0|01 02| |..| | value: raw bits 0x0-0x1.6 (1.7)
| | | [1]{}: object 0xe-0x11.7 (4)
0x00| 03 | . | class: "universal" (0) 0xe-0xe.1 (0.2)
0x00| 03 | . | form: "primitive" (0) 0xe.2-0xe.2 (0.1)
0x00| 03 | . | tag: "bit_string" (0x3) 0xe.3-0xe.7 (0.5)
0x00| 02| .| length: 2 0xf-0xf.7 (1)
0x10|04 |. | unused_bits_count: 4 0x10-0x10.7 (1)
0x10| 0f | . | value: raw bits 0x11-0x11.3 (0.4)
0x10| 0f | . | unused_bits: raw bits 0x11.4-0x11.7 (0.4)
0x10| 00 00| | ..| | end_marker: 0 0x12-0x13.7 (2)
0x0|01 02 00| |...| | value: raw bits 0x0-0x2.2 (2.3)