appcia/bitmask

Wraps bit mask number in an easily manageable object.

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

This package is not auto-updated.

Last update: 2024-12-17 08:07:07 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