Neurotoxin Powered Marketing
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    bitbufferpublic

    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
    

    Keywords

    none

    install

    npm i bitbuffer

    Downloadslast 7 days

    8,089

    version

    0.1.3

    license

    none

    last publish

    collaborators

    • avatar