Bit field

Package:
Bit field
Summary:
Manipulate bit field values
Groups:
Data types, PHP 5
Author:
eridal
Description:
This class can be used to manipulate bit field values.

It can create a bit field from either an integer number or a string of bits.

The class provides an Iterator interface to traverse the list of bits, function to set or get individual bit values, as well convert the bit field into integer, hexadecimal, octal and array values.


Powered by Gewgley