mirror of
https://github.com/wader/fq.git
synced 2024-12-23 13:22:58 +03:00
e77f776999
Think it makes it clearer and also less likely to collide with a field name a deocder wants to use.
15 lines
1.2 KiB
Plaintext
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| | ..........| | gap0: raw bits
|