mirror of
https://github.com/wader/fq.git
synced 2024-11-29 23:27:12 +03:00
051a70bd4b
All other ranges and slicing uses exclusive end so i think it make sense to make it consistent. Update docs and add additional example for non-byte-aligned field. Also fixes issue showing zero bit ranges as start-NA.
8 lines
658 B
Plaintext
8 lines
658 B
Plaintext
$ fq -d asn1_ber dv tc5.ber
|
|
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tc5.ber (asn1_ber) 0x0-0xd (13)
|
|
0x0|9f |. | class: "context" (2) 0x0-0x0.2 (0.2)
|
|
0x0|9f |. | form: "primitive" (0) 0x0.2-0x0.3 (0.1)
|
|
0x0|9f ff ff ff ff ff ff ff ff 7f |.......... | tag: 18446744073709551615 0x0.3-0xa (9.5)
|
|
0x0| 81 01 | .. | length: 1 0xa-0xc (2)
|
|
0x0| 40| | @| | value: raw bits 0xc-0xd (1)
|