bit array, backed by node.js Buffer
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1bbbb46 Sep 24, 2014
Permalink
Failed to load latest commit information.
.gitignore add tests May 11, 2014
LICENSE license it as MIT Mar 13, 2013
bitbuffer.js whitespace fixes Sep 23, 2014
package.json version bump Sep 23, 2014
readme.md wording Jan 13, 2013
test.js add tests May 11, 2014

readme.md

node-bitbuffer

A bit array, backed by node.js Buffer

Install

npm install bitbuffer

Usage

var BitBuffer = require('bitbuffer').BitBuffer
var b = new BitBuffer(10)
b.get(7) // false
b.set(7, true)
b.get(7) // true
b.toggle(7)
b.get(7) // false