https://github.com/suhdev/stickyants-bitset-js
A simple Bit vector library that mirrors Java's BitSet class.
https://github.com/suhdev/stickyants-bitset-js
Last synced: 9 months ago
JSON representation
A simple Bit vector library that mirrors Java's BitSet class.
- Host: GitHub
- URL: https://github.com/suhdev/stickyants-bitset-js
- Owner: suhdev
- Created: 2019-02-04T00:56:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-04T01:52:20.000Z (over 7 years ago)
- Last Synced: 2025-09-16T14:16:53.783Z (10 months ago)
- Language: JavaScript
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stickyants-bitset-js
A simple utlity library to work with Bit vectors. The library is built to mirror Java's BitSet class.
## Usage
```javascript
impor { BitSet } from 'stickyants-bitset-js';
var bs = new BitSet();
bs.set(1);
bs.set(0);
bs.set(100);
bs.isSet(100) //true
bs.isClear(101) //true
```