Login   Register  
PHP Classes

Bit Array: Manipulate compact arrays of bit values

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Cornelius Bolten
Name: Cornelius Bolten <e-mail contact>
Packages: 8 Browse all classes by Cornelius Bolten Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 30
All time rank: 23211 in Germany Germany
Week rank: 967 Down43 in Germany Germany Down
Innovation award
Innovation award
Nominee: 2x

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Cornelius Bolten  >  Bit Array  >  Download Download .zip .tar.gz  >  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
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 918 users
All time rank: 3539
Week users: 0 users
Week rank: 2192 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

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

  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
Accessible without login Plain text file example.and.BitArray.php Example and-example script
Accessible without login Plain text file example.BitArray.php Example example - usage file (setup BitArray, add/edit values)
Accessible without login Plain text file example.not.BitArray.php Example not-example script
Accessible without login Plain text file example.or.BitArray.php Example or-example script
Accessible without login Plain text file example.xor.BitArray.php Example xor-example script
Plain text file lib.BitArray.php Class main BitArray-Class

Download 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.