bbbradsmith / binxelview

Binxelview binary image explorer
153 stars 10 forks source link

New Export Binary Chunk feature #10

Closed damieng closed 1 year ago

damieng commented 1 year ago

Adds a new binary chunk export function to allow a subset of the binary file to be saved defaulting to 1K from the current position (but both can be changed).

image

Note: I only tested this on .NET Framework 4.8 as 4.0 is no longer available in my IDE. I tried to make sure no remnants of the 4.8 conversion are included but haven't been able to test it with a real 4.0 SDK.

bbbradsmith commented 1 year ago

Looks okay. Had to fix a crash case when the range is out of bounds. Renamed "ExportForm" to be less generic. Added an attribution in the readme.

I kind of wish the "length" option had an intuitive default of some sort instead of just $400 but I can't think of anything suitable, so I left it as-is.

damieng commented 1 year ago

Cool, thanks!