$bits
$bits
<p>A simple, fast array of bits, represented compactly by an array of ints internally.</p>
isRange(mixed $start, mixed $end, mixed $value) : true
Efficient method to check if a range of bits is set, or not set.
mixed | $start | |
mixed | $end | |
mixed | $value |
if end is less than or equal to start
iff all bits are set or not set in range, according to value argument
appendBits(mixed $value, mixed $numBits) : mixed
Appends the least-significant bits, from value, in order from most-significant to least-significant. For example, appending 6 bits from 0x000001E will append the bits 0, 1, 1, 1, 1, 0 in that order.
mixed | $value | |
mixed | $numBits |