Dax89 / QHexView

A versatile Hexadecimal widget for Qt5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support files larger than INT_MAX

milianw opened this issue · 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

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