abbaye/WpfHexEditorControl

[Feature Request] Use template files to define data

00cpxxx opened this issue ยท 3 comments

Thanks for the great component! I started using it recently and it is nice.

I wonder if there is a way to add support to map the data using C like structs or something similar. I understand it is possible to define tables to map each byte to something else, what I propose is actually see the data parsed into a struct of bytes. This is something done in 010 editor where you can set templates and it will parse the data for you. Template list at:
https://www.sweetscape.com/010editor/repository/templates/

010 goes far beyond by allowing code to be added to the parser, I'm thinking much smaller about a only a struct that can map the current file.

This could be extended to also work in comparison mode to make the list with field names instead of offsets for the difference.

If there is any interest on working this let me know, otherwise feel free to close the request as out of scope.

Thank for good word!๐Ÿ˜

Nice idea. Can you update your link. It's doesn't work ๐Ÿ˜•

If you like please put a โญ

Link updated and starred!