1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 06:04:47 +03:00
fq/format/asn1/testdata/tc17.ber.fqtest
Mattias Wadman e77f776999 decode,interp: Rename unknown gap fields from "unknown#" to "gap#"
Think it makes it clearer and also less likely to collide with a field
name a deocder wants to use.
2022-12-01 20:43:30 +01:00

16 lines
1.3 KiB
Plaintext

$ fq -d asn1_ber d tc17.ber
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc17.ber (asn1_ber)
| | | error: asn1_ber: S(exp): failed at position 4 (read size 0 seek pos 0): nBits must be 0-64 (72)
0x00|09 |. | class: "universal" (0)
0x00|09 |. | form: "primitive" (0)
0x00|09 |. | tag: "real" (0x9)
0x00| 14 | . | length: 20
0x00| af | . | binary_encoding: true
0x00| af | . | sign: 1 (false)
0x00| af | . | base: 16 (2)
0x00| af | . | scale: 3
0x00| af | . | format: 3
0x00| 09 | . | exp_bytes: 9
0x00| fe ff ff ff ff ff ff ff ff 05 05 05| ............| gap0: raw bits
0x10|05 05 05 05 05 05| |......| |