Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript bitset

const BitSet = require('bitset');

let bs = new BitSet;
bs.set(128, 1); // Set bit at position 128
console.log(bs.toString(16)); // Print out a hex dump with one bit set
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #javascript #bitset
ADD COMMENT
Topic
Name
8+2 =