ATBinHex
From Free Pascal wiki
Jump to navigationJump to search
About
ATBinHex is a control that implements the quick file (stream) viewer. Only visible part of file (or stream) is loaded into viewer, so it's suitable to show files of unlimited size.
Original Delphi code is used for a long time inside "Universal Viewer" application.
Author: Alexey Torgashin
Limitations of Lazarus port
- Some features were disabled via ATBinHexOptions.inc file (searching of text, printing, RegEx highlighting of URLs).
- Removed method OpenFile, because it used Win32 API; use OpenStream instead.
View modes
There are 5 view modes available:
Text: file is shown in text form
Binary: file is shown in binary form (with fixed line length)
Hex: file is shown in hex dump
Unicode: Unicode contents of file is shown
Unicode/Hex: combined Hex and Unicode modes
Download
- Homepage of Lazarus port: https://github.com/Alexey-T/ATBinHex-Lazarus
- Homepage of Delphi original, with all functions including printing, searching, support for many codepages: https://github.com/Alexey-T/ATViewer