| 313 | return options->linelength * pos.line + pos.column; |
| 314 | } |
| 315 | QHexPosition offsetToPosition(const QHexOptions* options, qint64 offset) { |
| 316 | return {offset / options->linelength, offset % options->linelength}; |
| 317 | } |
| 318 | |
| 319 | QPair<qint64, qint64> find(const QHexView* hexview, QVariant value, |
| 320 | qint64 startoffset, QHexFindMode mode, |