1
1
mirror of https://github.com/wader/fq.git synced 2024-11-23 09:56:07 +03:00
fq/format/asn1/testdata/tc48.ber.fqtest
2022-05-03 10:57:43 +02:00

30 lines
2.6 KiB
Plaintext

$ fq -d asn1_ber d tc48.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc48.ber (asn1_ber)
| | | error: asn1_ber: error at position 0xd: unusedBitsCount 15 > 7
0x00|23 |# | class: "universal" (0)
0x00|23 |# | form: "constructed" (1)
0x00|23 |# | tag: "bit_string" (0x3)
0x00| 80 | . | length: "indefinite" (0)
| | | constructed[0:3]:
| | | [0]{}: object
0x00| 03 | . | class: "universal" (0)
0x00| 03 | . | form: "primitive" (0)
0x00| 03 | . | tag: "bit_string" (0x3)
0x00| 02 | . | length: 2
0x00| 00 | . | unused_bits_count: 0
0x00| 01 | . | value: raw bits
| | | [1]{}: object
0x00| 03 | . | class: "universal" (0)
0x00| 03 | . | form: "primitive" (0)
0x00| 03 | . | tag: "bit_string" (0x3)
0x00| 02 | . | length: 2
0x00| 00 | . | unused_bits_count: 0
0x00| 01 | . | value: raw bits
| | | [2]{}: object
0x00| 03 | . | class: "universal" (0)
0x00| 03 | . | form: "primitive" (0)
0x00| 03 | . | tag: "bit_string" (0x3)
0x00| 02 | . | length: 2
0x00| 0f | . | unused_bits_count: 15
0x00| 0f 00 00| ...| unknown0: raw bits