|
I had considered writing something very similar a while back.
I'd made some changes if I were you.
1: change the main display into a byte grid to display the hex value of each byte
2: On clicking any byte in the grid, change the bottom display to show the byte, ushort, uint and ulong decimal values from that offset. Also show the fixed string (16 char) and variable length string which would be displayed if that was the begining of a string packet.
3: Select the data type from the bottom list and it will ask you to 'label' the offset. Once labeled, the used bytes would become highlighted in a color coded fashion. On mouse over, list the label
4: Discovered offsets panel at the bottom to list what offsets/datatypes/values you've already discovered in the packet
5: Output Structure --> Output the structure given the labels and data types used in the format of your wish.
Those were the things I had thought about including in my own version. Would be nice to see these additions in yours but maybe I'm just way off base.
|