Dax89/QHexView

support files larger than INT_MAX

milianw opened this issue · 3 comments

You are using int as offsets, which makes it impossible to open/inspect large files. Please use q(u)int64 instead

I needed to change all the code to uint64_t in order to be able to show memory chunks

Currently QByteArray can store only 2GB size, see https://doc.qt.io/qt-5/qbytearray.html#maximum-size-and-out-of-memory-conditions so for big files need implement lazy loading data when needed

Dax89 commented

I was looking for this data structure: https://www.catch22.net/tuts/neatpad/piece-chains
Imho is perfect as backend for an hexadecimal widget too