问题
I have a binary file of unknown format that I need to be able to read. I have access to a program which can 'unpack' the file, but the user interface is terrible for exporting data. I've extracted a few points in an attempt to search for them in the file and discover a pattern, but it's not an efficient method. What I'm trying to do is match hex patterns to single floating point values, but copying, pasting, translating, and searching the file is not a quick process.
I've looked around quite a bit, and I can't seem to find any hex editors that allow a user to highlight 4 or 8 bytes and display a single or double floating point number in the text view, rather than Mojibake. Maybe I'm not utilizing the full potential of the hex editors I've tried, but I'm stuck. Here's a list of editors I've tried. Does anyone know of an editor that has the features I need, or how to correctly use the ones I've attempted?
- HEdit
- FlexHex
- Hex Editor NEO
- Notepad++ Hex Plugin
- HxD
回答1:
Sometime ago, I wrote an Hex viewer called Serial Wizard which has a functionality like this.
Unfortunately it has only conversions for integral types (integer, long, etc) but it's relatively easy to add new conversions.If you want I can try to write a float converter tomorrow.
来源:https://stackoverflow.com/questions/2993656/hex-editor-for-viewing-combined-string-and-float-data