appcia/bitmask

Wraps bit mask number in an easily manageable object.

v1.0 2014-04-27 16:04 UTC

README

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