Login   Register  
PHP Classes
elePHPant
Icontem

Class: Bit Array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cornelius Bolten  >  Bit Array  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Bit Array
Base name: bitarray
Description: Manipulate compact arrays of bit values
Related classes: ,
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 877 users
All time rank: 3260
Week users: 0 users
Week rank: 2590
Picture of Cornelius Bolten
Author: Cornelius Bolten <e-mail contact>
Packages: 8 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 28
All time rank: 21611 in Germany Germany
Week rank: 601 Down24 in Germany Germany Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description  
This class is meant to manipulate compact array of bit values. These values are represented as booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).

The class can manipulate bit arrays that are stored internally as strings.

The bit arrays may have variable length that is specified when an object of the class is created. Currently the length is limited to 32 bits.

The class provides functions to get and set individual bits values. It also provides functions to perform the bitwise logical operations between two bit arrays AND, OR, XOR and also NOT operartion to invert the bits of one array.

The class is a PHP port of the BitArray class of the .NET framework.

 

  Groups  
Group folder image Data types Modeling and manipulating data types View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file example.and.BitArray.php Example and-example script
Plain text file example.BitArray.php Example example - usage file (setup BitArray, add/edit values)
Plain text file example.not.BitArray.php Example not-example script
Plain text file example.or.BitArray.php Example or-example script
Plain text file example.xor.BitArray.php Example xor-example script
Plain text file lib.BitArray.php Class main BitArray-Class

Download all files: bitarray.tar.gz bitarray.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.