- bit-3 buffer
- for compress using
- npm install nv-bit-3
const { creat } = require("nv-bit-3");
var ab = new ArrayBuffer(3*16)
var si = 0;
var sz = 16 ;
var b3 = creat(ab,si,sz);
for(let i=0;i<16;++i) {b3.set(i,i%7)}
for(let i=0;i<16;++i) {
if(b3.get(i) !== (i%7)) {throw(i)}
}
b3
/*
*/
b3.ary()
/*
*/
- ISC