WpfHexEditorControl icon indicating copy to clipboard operation
WpfHexEditorControl copied to clipboard

[Feature Request] Use template files to define data

Open 00cpxxx opened this issue 3 years ago • 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.

00cpxxx avatar Dec 20 '21 16:12 00cpxxx

Thank for good word!😁

Nice idea. Can you update your link. It's doesn't work 😕

abbaye avatar Dec 21 '21 01:12 abbaye

If you like please put a ⭐

abbaye avatar Dec 21 '21 01:12 abbaye

Link updated and starred!

00cpxxx avatar Dec 21 '21 02:12 00cpxxx