1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 13:52:02 +03:00
fq/format/asn1/testdata/tc42.ber.fqtest
2022-05-03 10:57:43 +02:00

21 lines
1.8 KiB
Plaintext

$ fq -d asn1_ber d tc42.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc42.ber (asn1_ber)
| | | error: asn1_ber: BitBufRange: failed at position 0 (read size 104 seek pos 0): outside buffer
0x0|24 |$ | class: "universal" (0)
0x0|24 |$ | form: "constructed" (1)
0x0|24 |$ | tag: "octet_string" (0x4)
0x0| 80 | . | length: "indefinite" (0)
| | | constructed[0:2]:
| | | [0]{}: object
0x0| 04 | . | class: "universal" (0)
0x0| 04 | . | form: "primitive" (0)
0x0| 04 | . | tag: "octet_string" (0x4)
0x0| 03 | . | length: 3
0x0| 00 04 05 | ... | value: raw bits
| | | [1]{}: object
0x0| 04 | . | class: "universal" (0)
0x0| 04 | . | form: "primitive" (0)
0x0| 04 | . | tag: "octet_string" (0x4)
0x0| 5f | _ | length: 95
0x0| 29 1c d0 00 00| | )....| | unknown0: raw bits