Login   Register  
PHP Classes
elePHPant
Icontem

Binary Parser: Serialize and unserialize binary data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-08-09 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,453 All time: 2,467 This week: 1,459Up
Version License Categories  
binaryparser 1.0GNU General Public Lice...PHP 5, Data types
Description Author  
This class serializes and unserializes binary data, so you can read and write binary data files for exchange with programs written in languages like C and Pascal.

Currently the class is able to handle just the following types: signed integers (small 8 bits, short 16 bits, int 32 bits), unsigned integers (byte 8 bits, word 16 bits, dword 32 bits) and floating point (IEEE754 float 32 bits and double 64 bits).

The endianess of the binary values representation can also be configured with the class.
Picture of Jonas Raoni Soares Silva
Name: Jonas Raoni Soares Silva <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 30
All time rank: 58645 in Brazil Brazil
Week rank: 1763 Down142 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file BinaryParser.php Class BinaryParser class
Plain text file BinaryParser.php4 Class PHP4.x class
Accessible without login Plain text file Example.php Example Example of reading binary data that was generated in C
Accessible without login Plain text file Help.txt Doc. Some documentation
Accessible without login Plain text file Test.php Test Float point conversion tests

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,453All time:2,467
 This week:0This week:1,459Up