PHP Classes

Hex Editor: Read and write files to edit their data

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 895 This week: 1All time: 3,943 This week: 119Up
Version License PHP version Categories
hexeditor 1.0.0GNU General Publi...3.0Files and Folders
Description 

Author

This class can read and write files to edit their data.

It can open a file and convert its contents into a corresponding hexadecimal string representation.

The class can also rewrite the file with a hexadecimal representation string of the changed contents.

Innovation Award
PHP Programming Innovation award nominee
March 2009
Number 5


Prize: One downloadable copy of Komodo IDE
Binary files cannot be edited like text files in regular text editors because characters within certain code ranges are not printable.

This class provides a work around for editing binary files. It converts the file contents into lines of hexadecimal text, so it can be easily changed in a text editor.

The class can also convert the changed hexadecimal lines back to binary format before storing the updated binary file contents.

Manuel Lemos
Picture of De Rosa Luigi
Name: De Rosa Luigi is available for providing paid consulting. Contact De Rosa Luigi .
Classes: 8 packages by
Country: Italy Italy
Age: 30
All time rank: 2036 in Italy Italy
Week rank: 131 Up6 in Italy Italy Equal
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file hex.class.php Class Main Class
Accessible without login Plain text file hex.php Example Example usage

 Version Control Unique User Downloads Download Rankings  
 0%
Total:895
This week:1
All time:3,943
This week:119Up