Compost
Decompose and compose integers to and from lists of bits.
Overview
Need to know what bits are set in a number? Compost is here to help you out!
With Compost, you can decompose numbers into lists of bits and recompose them as easy as cake!
Usage
Also see the documentation and example.
var compost = ; // {0: true, 2: true}console; // 5console;
License
3-clause BSD. A copy is included with the source.
Contact
- GitHub (http://github.com/deoxxa)
- Twitter (http://twitter.com/deoxxa)
- ADN (https://alpha.app.net/deoxxa)
- Email (mailto:deoxxa@fknsrs.biz)