Difference between revisions of "ATBinHex"

From Lazarus wiki
Jump to navigationJump to search
(Shots)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
= About =
 
= 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.
+
''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.
  
Features:
+
Original Delphi code is used for a long time inside "Universal Viewer" application.
  
*    Support for huge file sizes (of type Int64)
+
Author: Alexey Torgashin
*    Support for Unicode file names
+
 
*    Support for multiple codepages: ANSI, OEM etc.
+
= 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:
 
There are 5 view modes available:
  
*    Text: file is shown in text form
+
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
+
[[File:atbinhex_ModeText.gif]]
*    Unicode: Unicode contents of file is shown
+
 
*    Unicode/Hex: combined Hex and Unicode modes
+
Binary: file is shown in binary form (with fixed line length)
 +
 
 +
[[File:atbinhex_ModeBinary.gif]]
 +
 
 +
Hex: file is shown in hex dump
 +
 
 +
[[File:atbinhex_ModeHex.gif]]
 +
 
 +
Unicode: Unicode contents of file is shown
  
Author: Alexey Torgashin
+
[[File:atbinhex_ModeUnicode.gif]]
  
= Screenshots =
+
Unicode/Hex: combined Hex and Unicode modes
  
* Text mode: [https://github.com/Alexey-T/ATViewer/blob/master/Help/ATBinHex/ModeText.gif]
+
[[File:atbinhex_ModeUHex.gif]]
* Binary mode: [https://github.com/Alexey-T/ATViewer/blob/master/Help/ATBinHex/ModeBinary.gif]
 
* Unicode mode: [https://github.com/Alexey-T/ATViewer/blob/master/Help/ATBinHex/ModeUnicode.gif]
 
* Unicode/Hex mode: [https://github.com/Alexey-T/ATViewer/blob/master/Help/ATBinHex/ModeUHex.gif]
 
  
= Homepage =
+
= 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
 
* Homepage of Delphi original, with all functions including printing, searching, support for many codepages: https://github.com/Alexey-T/ATViewer
* Homepage of Lazarus port with less functions: https://github.com/Alexey-T/ATBinHex-Lazarus
+
 
 +
[[Category:Components]]

Latest revision as of 09:39, 21 January 2022

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

atbinhex ModeText.gif

Binary: file is shown in binary form (with fixed line length)

atbinhex ModeBinary.gif

Hex: file is shown in hex dump

atbinhex ModeHex.gif

Unicode: Unicode contents of file is shown

atbinhex ModeUnicode.gif

Unicode/Hex: combined Hex and Unicode modes

atbinhex ModeUHex.gif

Download