appcia/bitmask

Wraps bit mask number in an easily manageable object.


Keywords
options, bit, mask, bitmask, bitwise
License
MIT

Documentation

Appcia - Bit Mask

Wraps bit mask number in an easily manageable object.

Features

  • individuals bits could be set by integer value or by name
  • value changed callback (multiple listeners)
  • also provides array access, serialization, countable enabled bits
  • services binary string representation

Usage

See unit tests:

Changelog

v1.0

  • Initial release