1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
fq/format/asn1/testdata/tc16.ber.fqtest
2022-05-03 10:57:43 +02:00

15 lines
1.2 KiB
Plaintext

$ fq -d asn1_ber d tc16.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc16.ber (asn1_ber)
| | | error: asn1_ber: U(n): failed at position 4 (read size 0 seek pos 0): nBits must be 0-64 (80)
0x0|09 |. | class: "universal" (0)
0x0|09 |. | form: "primitive" (0)
0x0|09 |. | tag: "real" (0x9)
0x0| 0c | . | length: 12
0x0| 80 | . | binary_encoding: true
0x0| 80 | . | sign: 1 (false)
0x0| 80 | . | base: 2 (0)
0x0| 80 | . | scale: 0
0x0| 80 | . | format: 0
0x0| fb | . | exp: -5
0x0| 05 05 05 05 05 05 05 05 05 05| | ..........| | unknown0: raw bits