Here is my take on a Hex dump as a custom view.
You can:
- Explore any size file
- Load one or more arrays of bytes
- Search the data
You can select data from the right hand column and press F3 or select Find from the find menu to search the file or data.
The library is a b4xlib, but is only available for B4j.
DependsOn : jXUI, JavaObject, jReflection, jRandomAccessFile, ByteConverter
Files:
- HexView.zip shows example usage.
- jHexViewer-b4x.b4xlib contains the library.
- HexViewer.xml contains the libraries documentation xml file that you can drag on to BuildDocs, or use another Library documentation viewer available on the forum.
Update V 1.3
Bug fix sizing window too small caused a read error
Update V1.4
Implemented Klaus's suggestions, it looks a lot cleaner, thank you Klaus. You only need to download the jHexViewer-b4x.b4xlib file.
If you try it, please let me know how you get on with it.
Attachments
Last edited: