1
1
mirror of https://github.com/wader/fq.git synced 2024-10-04 07:27:08 +03:00
fq/doc
Mattias Wadman 8e0dde03d0 decode: Support multiple format args and some rename and refactor
This will allow passing both cli options and format options to sub decoder.
Ex: pass keylog option to a tls decoder when decoding a pcap.
Ex: pass decode options to a format inside a http body inside a pcap.

Add ArgAs method to lookup argument based on type. This also makes the format
decode function have same signature as sub decoders in the decode API.

This change decode.Format a bit:
DecodeFn is now just func(d *D) any
DecodeInArg renamed to DefaultInArg
2023-02-18 21:38:51 +01:00
..
presentations decode: Support multiple format args and some rename and refactor 2023-02-18 21:38:51 +01:00
demo.svg interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
demo.svg.sh interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
dev.md decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
display_decode_value_d.svg interp: dump: Show field name for compound values in arrays 2022-04-21 17:47:15 +02:00
display_decode_value_d.svg.sh dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg 2022-12-04 12:37:10 +01:00
display_decode_value_dv.svg doc: Document display and some more jq hints 2022-01-29 13:10:25 +01:00
display_decode_value_dv.svg.sh dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg 2022-12-04 12:37:10 +01:00
display_decode_value.svg interp: dump: Show field name for compound values in arrays 2022-04-21 17:47:15 +02:00
display_decode_value.svg.sh dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg 2022-12-04 12:37:10 +01:00
display_json.svg doc: Document display and some more jq hints 2022-01-29 13:10:25 +01:00
display_json.svg.sh dev,doc,make: Cleanup makefile and have proper targets for *.md and *.svg 2022-12-04 12:37:10 +01:00
file.mp3 cli: Make --raw-string work with input/0 and inputs/0 2021-09-12 13:08:54 +02:00
file.mp4 Undo change to doc/file.mp4. I have no idea how this got changed in the first place? Maybe some macos shenanigans. 2022-01-19 19:07:08 -06:00
formats_diagram.jq interp: Rename to/from<format> functions to to_/from_<format> 2022-12-21 17:48:39 +01:00
formats.jq doc: Add some padding margin to formats table to make it less likely to cause git conflicts 2022-12-05 12:25:00 +01:00
formats.md matroska: Add decode_samples option 2023-02-08 11:31:41 +01:00
formats.svg mp3: Add max_unknown option to fail decode if too much unknown bits 2023-01-25 15:27:31 +01:00
mdsh.go Init 2021-09-12 13:08:42 +02:00
mdsh.sh doc: Add per format documentation 2022-01-29 12:01:36 +01:00
TODO.md decode,interp: Rename unknown gap fields from "unknown#" to "gap#" 2022-12-01 20:43:30 +01:00
usage.md doc: Add _parent for decode values and clenaup doc a bit 2023-01-03 11:21:09 +01:00