{"_id":"bit-buffer","_rev":"28-bea022ad795ee513324e8f995723ba67","name":"bit-buffer","dist-tags":{"latest":"0.3.0"},"versions":{"0.0.1":{"name":"bit-buffer","version":"0.0.1","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"BSD","_id":"bit-buffer@0.0.1","maintainers":[{"name":"inolen","email":"inolen@gmail.com"}],"dist":{"shasum":"45e49a007b3bb8fa5f0efe37fdc2315c93a09dc7","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.0.1.tgz","integrity":"sha512-XLQCDWgAMpYCW/fchaADTdyb0cwgvt767w4dTZRVLdftF0jQqaGMlnxKFYLK1fFM6piwYErpsLJT820VbKwWtg==","signatures":[{"sig":"MEYCIQDVXY9yTI4378SICI1EkRoyiO6D/JsjTDA43gPglxyoSQIhAJGs5mAnj6g3NE2JuLGWelkVDPVVVyx2fWZ/FsnFT3tL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","_from":".","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"inolen","email":"inolen@gmail.com"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"1.2.14","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"}},"0.0.2":{"name":"bit-buffer","version":"0.0.2","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"BSD","_id":"bit-buffer@0.0.2","maintainers":[{"name":"inolen","email":"inolen@gmail.com"}],"bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"1be6f7158d1109aeb5a56b23b1e3b4f18382c018","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.0.2.tgz","integrity":"sha512-w2d/YPyd4zGf6Vb0YkXfXiTGDKXTfHMxFl6yEY663BKc4o5bsF3kXGCByoJyYZQaEIeAQJNG+LzjckWI160oCQ==","signatures":[{"sig":"MEYCIQDOoAWGVZWyJ4VMJ5/Vs5kenomnJFcoHbRqTM6XzXcLBgIhAPdh5VSAxGgtvoS7Kh2db8Hi6Z38O3DP1oA/sK3rbgKp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","_from":".","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"inolen","email":"inolen@gmail.com"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"1.2.30","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"}},"0.0.3":{"name":"bit-buffer","version":"0.0.3","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.0.3","maintainers":[{"name":"inolen","email":"inolen@gmail.com"}],"bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"416c0fc72e5d2fbb4f0ecc3db9f00bfad320c436","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.0.3.tgz","integrity":"sha512-T+hl90YoueAGeEOB3WzqQZZRLsZJaHqMwaQQe2Q16gU6EXag8fgNe+7PNgfBwCSH5JHYyccbMGkNOuk3HyrkRw==","signatures":[{"sig":"MEYCIQD5ciNlooJL5JRZzqj3x8Ta05it9dGG/od/lOQ7x4Sl+gIhAPFDPfCJkVItOZOEQfDn1VK4XGHM+6IBprOKnOiXfDUQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","_from":".","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"inolen","email":"inolen@gmail.com"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"1.2.30","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"}},"0.1.0":{"name":"bit-buffer","version":"0.1.0","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.1.0","maintainers":[{"name":"icewind1991","email":"robin@icewind.nl"},{"name":"inolen","email":"inolen@gmail.com"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"8164c15dbd218eea74e0843da70efa555a4402c4","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.1.0.tgz","integrity":"sha512-qM6KVs+iHmEV2hmjbfdRH/3KmA3P8B3u/mCQH1jEFknlwvNThoLVs3xDNFqz33I+hUlroQ7NmWa1m74j13C5Lw==","signatures":[{"sig":"MEQCIHf3RwvDGOL6XrNpbwVVfp/WNmAXKpqhrViQURIEXDbPAiBkE9LCZKoVVP6mbaTAdxEFHZQZDpfdjO6Utdjixe3vlg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","_from":".","types":"./bit-buffer.d.ts","_shasum":"8164c15dbd218eea74e0843da70efa555a4402c4","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"4.4.1","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"7.7.2","devDependencies":{"mocha":"^3.2.0","jshint":"^2.9.4","@types/node":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer-0.1.0.tgz_1489323757617_0.48181260866113007","host":"packages-12-west.internal.npmjs.com"}},"0.2.0":{"name":"bit-buffer","version":"0.2.0","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.2.0","maintainers":[{"name":"icewind1991","email":"robin@icewind.nl"},{"name":"inolen","email":"inolen@gmail.com"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"52526573228cd71e42b90638593280a6c05e2d0e","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.0.tgz","integrity":"sha512-et8MIvMW4fqwgseIq0SLjyjbhmypVSBcb+4Zd/+2CkYTDsh/yWXEosXrHaCvrTdYzkeeBJraypggmE3XKPlUAw==","signatures":[{"sig":"MEUCIQDjYxgMmNPF729WYUhzF8uJmKuep0M4Rkjx8+tqrJalHAIgGqqznzLMzw+YjnvRW1H+bD3Q5vrzX1bcJbdzDjydrLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","types":"./bit-buffer.d.ts","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"5.3.0","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"8.2.1","devDependencies":{"mocha":"^3.2.0","jshint":"^2.9.4","@types/node":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer-0.2.0.tgz_1502561512430_0.9453602698631585","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"bit-buffer","version":"0.2.1","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.2.1","maintainers":[{"name":"icewind1991","email":"robin@icewind.nl"},{"name":"inolen","email":"inolen@gmail.com"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"0fa8c7c923db1c3a150c54bf8706f593c5f83b5a","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.1.tgz","integrity":"sha512-TAlsmro6tAnk94wxj4NCCelLPXz1gbSiTDhB9ziXTZQpZuHj1k6e2eAza+9BsRw6O703eGngpKFkNLtY1PlYtg==","signatures":[{"sig":"MEQCIBg9WDylsU5PmYTBGfKVfAqLMQR4S8F2mya4kvwdTKwmAiBHlTlCXGesOZAk9DkJVVhQiNGXl9p/kDUg9tv/NSdknw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","types":"./bit-buffer.d.ts","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"5.3.0","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"8.4.0","devDependencies":{"mocha":"^3.2.0","jshint":"^2.9.4","@types/node":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer-0.2.1.tgz_1504642970145_0.06271218182519078","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"bit-buffer","version":"0.2.2","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.2.2","maintainers":[{"name":"icewind1991","email":"robin@icewind.nl"},{"name":"inolen","email":"inolen@gmail.com"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"9a979dbbdfd8e74c4c3f842d50cf9433a14cf51d","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.2.tgz","integrity":"sha512-W4EtPq7Z3nRi/mRF/gyluWtoeuHdRFgtWeuuVixvaUu3EvfMEdYzjSa+IRl5l/dDXJVf5zxjojvQrssxspJ+AQ==","signatures":[{"sig":"MEQCIBK+7dUD2IDIjmTZl26WfksiOHaUQLz/4wmoo6hBjKiQAiAy2e8PF+qTfkXU3wEk9e9f6D5FQWv8XD3jJS3xINg//Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","types":"./bit-buffer.d.ts","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"5.3.0","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"8.4.0","devDependencies":{"mocha":"^3.2.0","jshint":"^2.9.4","@types/node":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer-0.2.2.tgz_1504643385371_0.6155689808074385","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"bit-buffer","version":"0.2.3","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.2.3","maintainers":[{"name":"icewind1991","email":"robin@icewind.nl"},{"name":"inolen","email":"inolen@gmail.com"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"7da325092301deefd7a63d7c1393e0416d28f571","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.3.tgz","integrity":"sha512-Ugsj2ZD23YKb4cCasdBD4l1Oy4eI/752hnCMAmZO62P+oS1emCqNMlkex02ppGWgKHTS6sfzFeUbPD6VWd+s1w==","signatures":[{"sig":"MEUCIApTQbW0nalJl0nIJgFvET1ke2R83FuqbDLMlfNTjrG+AiEAsyVG8uhY1Yt2IAAO9AWINfzfJ5qumyKEP5HyqiVm894=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"bit-buffer.js","types":"./bit-buffer.d.ts","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"5.3.0","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"8.4.0","devDependencies":{"mocha":"^3.2.0","jshint":"^2.9.4","@types/node":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer-0.2.3.tgz_1504644228952_0.3050028991419822","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"bit-buffer","version":"0.2.4","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.2.4","maintainers":[{"name":"icewind1991","email":"robin@icewind.nl"},{"name":"inolen","email":"inolen@gmail.com"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"5520ffb2f656734d44ab9227d88a4be234364a0b","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.4.tgz","fileCount":13,"integrity":"sha512-j4rQZTEpdCkb662lkiemA4mlcv9IraC8yA+BnMT4wzOldUCKPTkbgKXL6nwRqtlqiuh+GZYh/sFAzXPpUd9FPQ==","signatures":[{"sig":"MEYCIQCuLPHgvxBkcq9widm6ypGD9HpjhK2A/ohABRucNjVIRAIhAIfK8ZtrhYQTiePT1lYJlJXgYjG32DQbmDULln2/xbf6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB/xCCRA9TVsSAnZWagAARD0P/252gDmdqWhNbPivgiel\nvgvSFDNCJ5AWEexUzHzaB31tb7Bivtsq+XwKCzVGQaFKthPCa6uX7Su8cvyo\nKleTq5AylrvBQ6uDomhXUPQ8eFwAoHM6lHs0Ej4CKQCxE9gxbQ3AFmdZ/vk+\nQRF8rLvRQ++8Ob1vADmTJWO1o6fpUg0FAowgvV+fZMXCNOCxxZjSwfkXCOzh\nuz39Fua93kSYaw+UQbNmFioDNuUBKK70laAsyYcFsrMeerp5/o/B25Hh2N7x\nKiwxTkQXwEt3ez0Ww/3sd/fhet865twL25pM3lv5RQvOrheMGPokQkJsOhgL\n48tipf+iUvdJJpzN/92+QHIBa8qRTMGZFrejDrea1edefAiG9qZL75zTOsUq\nrbsYxS3ozYxMtheqPcDpL/HnqCGeRXpNPlTKeWxaCj2uQKlbOkxVOp6uB98K\nO4ycbpsMVuld7HxDnqqMycYHmV7sSPMuIyD6DxykMsD3Vi88RLrlTECrAiec\nUUVPxi9hdQLlk2em9dWeTUerzoOLPQ2l+aUHNe0KqdTAcPjriyLDSJWGBbWV\nYF1qs0GshNSO8e+6ucR+lQ0V3aXr/EcfJjcmsZNIgIK2xo0R3YSlqfIvIMz2\n0QsYemb0xrr4qw/Gmba8rNh6MmlD/ktO6VKFqbt7ZNxZlGsrpCH9OZARp4Vp\nf0W+\r\n=wlAN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bit-buffer.js","types":"./bit-buffer.d.ts","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"test":"make test"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"6.4.1","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"11.2.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^3.2.0","jshint":"^2.9.4","@types/node":"^7.0.5"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer_0.2.4_1544027202271_0.775080208752644","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"bit-buffer","version":"0.2.5","keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"license":"MIT","_id":"bit-buffer@0.2.5","maintainers":[{"name":"inolen","email":"inolen@gmail.com"},{"name":"icewind1991","email":"robin@icewind.nl"}],"contributors":[{"name":"Robin Appelman"}],"homepage":"https://github.com/inolen/bit-buffer#readme","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"dist":{"shasum":"a7d060d6d957ff363540e8502e2105a5a4240f28","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.2.5.tgz","fileCount":16,"integrity":"sha512-x1yGnmXvFg6e3DiyRztElbcn1bsCTFSoM/ncAzY62uE0JdTl5xlKJd0ooqLYoPbhdsnpehSIQrdIvclcZJYwiA==","signatures":[{"sig":"MEYCIQCkHQrM48+7v9+xiBwDO6DfpjatJtTnJnIOo/sa9UjgFAIhAJWzO97opzLgFb2pfqP1R5bxmMtOvY+HDphaALGMVOVz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFKJ0CRA9TVsSAnZWagAAqFUP+QEq0zVLYT4DDIfZ1GEY\nGuqkDOvvmuSJ/gBkTUQBPeor3sIWJ2voiYzrIQNP4OlPPSslpBUVkXcPnrKH\nSwhLhuhd8yWN7r4J86NJf5xgN+YEP+uLVW91hcDlW0K3sbmpqHLD015DEkrO\niEPyll8cJicqSMUWjjUQzTchLoV+/AtfJP2JAA9QSk4vgq/k4Be7k+VxjSAM\nuk34I9it4vAxhAvVZi0OGIAsEJZkbs//WliE2sYBNGcFQ+7p4Ds0MljNGVCp\ndcCJ4DeJp3zl0QCD9SaAgC3Y9+3VMvEn1hEcO831nFqXQAYz2bfLUdNpGAKX\ni7bbEk5zZ4PDOMXJ7pzpoAlzis71/Q4UIFzf+J7rKXPuSL6Jkr03wpeVOmde\nYU9a6fyvlHIzZm+QhN8meHdjJgmr7rpOqTg8odE0oZTdEtE/mfRMEcxBbg6E\nVck2GAcXosyoc9Pra5CHiR7Du5Xssc2Y84/TplT9Ab7hb3YQj3P4YxBYD3uE\n1WRpHbSeo0WRJDehBMGLNb8B7be8rVJY27pONd38mYDMXtNMlczfBhT5ukQP\nJOZCXCinxpkJWkP8QcnMwotoQtYDHliu58n7Sadr+k5/VANrLAWkEhyjjM+F\n13lmxR/2wfPcGYfkRlCmXmlCeoQMYeZE7wBkCEwcupuavOzYWnY7uxVZROA+\nVR5W\r\n=SrLn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bit-buffer.js","types":"./bit-buffer.d.ts","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","scripts":{"lint":"jshint bit-buffer.js","test":"mocha --ui tdd"},"_npmUser":{"name":"icewind1991","email":"robin@icewind.nl"},"repository":{"url":"git://github.com/inolen/bit-buffer.git","type":"git"},"_npmVersion":"6.14.11","description":"Bit-level reads and writes for ArrayBuffers","directories":{"test":"test"},"_nodeVersion":"15.7.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^8.2.1","jshint":"^2.12.0","@types/node":"^14.14.22"},"_npmOperationalInternal":{"tmp":"tmp/bit-buffer_0.2.5_1611965043546_0.8865983415423841","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"bit-buffer","version":"0.3.0","description":"Bit-level reads and writes for ArrayBuffers","main":"bit-buffer.js","types":"./bit-buffer.d.ts","directories":{"test":"test"},"scripts":{"test":"mocha --ui tdd","lint":"semistandard --fix bit-buffer.js"},"repository":{"type":"git","url":"git://github.com/inolen/bit-buffer.git"},"keywords":["dataview","arraybuffer","bit","bits"],"author":{"name":"Anthony Pesch"},"contributors":[{"name":"Robin Appelman"}],"license":"MIT","gitHead":"cd4417237bed1f22dd5adfd8a6b961ea7234d9c9","devDependencies":{"@types/node":"^24.9.2","semistandard":"^17.0.0","mocha":"^11.7.4"},"_id":"bit-buffer@0.3.0","bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"homepage":"https://github.com/inolen/bit-buffer#readme","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-ZuHiT8XheCOwON2r23HCmy55TpPeYBe2d6BDdOMuvCmswI+6szog44JeE3sVuaF0K2kLatuXBTQ6WCCcI4KMyw==","shasum":"c9269da131a7fabec3bfed1ba24dedd68c1df7bd","tarball":"https://registry.npmjs.org/bit-buffer/-/bit-buffer-0.3.0.tgz","fileCount":9,"unpackedSize":33089,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC7obJmO4lj5vcLXS/dVbqQ7HlbiUkrz8wLEwNpOMQmLwIgDuDxfejFx4fwurbBpHaJOw4xs63hDhRoK0H3PsnqctA="}]},"_npmUser":{"name":"inolen","email":"inolen@gmail.com"},"maintainers":[{"name":"inolen","email":"inolen@gmail.com"},{"name":"icewind1991","email":"robin@icewind.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bit-buffer_0.3.0_1762283220758_0.1890771669973048"},"_hasShrinkwrap":false}},"time":{"created":"2013-03-24T10:07:07.651Z","modified":"2025-11-04T19:07:01.129Z","0.0.1":"2013-03-24T10:07:08.897Z","0.0.2":"2013-08-12T23:32:17.287Z","0.0.3":"2013-08-12T23:45:32.660Z","0.1.0":"2017-03-12T13:02:39.565Z","0.2.0":"2017-08-12T18:11:53.323Z","0.2.1":"2017-09-05T20:22:51.092Z","0.2.2":"2017-09-05T20:29:47.980Z","0.2.3":"2017-09-05T20:43:49.918Z","0.2.4":"2018-12-05T16:26:42.482Z","0.2.5":"2021-01-30T00:04:03.670Z","0.3.0":"2025-11-04T19:07:00.937Z"},"bugs":{"url":"https://github.com/inolen/bit-buffer/issues"},"author":{"name":"Anthony Pesch"},"license":"MIT","homepage":"https://github.com/inolen/bit-buffer#readme","keywords":["dataview","arraybuffer","bit","bits"],"repository":{"type":"git","url":"git://github.com/inolen/bit-buffer.git"},"description":"Bit-level reads and writes for ArrayBuffers","contributors":[{"name":"Robin Appelman"}],"maintainers":[{"name":"inolen","email":"inolen@gmail.com"},{"name":"icewind1991","email":"robin@icewind.nl"}],"readme":"# BitBuffer\n\n![Node.js CI](https://github.com/inolen/bit-buffer/workflows/Node.js%20CI/badge.svg)\n\nBitBuffer provides two objects, `BitView` and `BitStream`. `BitView` is a wrapper for ArrayBuffers, similar to JavaScript's [DataView](https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays/DataView), but with support for bit-level reads and writes. `BitStream` is a wrapper for a `BitView` used to help maintain your current buffer position, as well as to provide higher-level read / write operations such as for ASCII strings.\n\n## BitView\n\n### Attributes\n\n```javascript\nbb.buffer  // Underlying ArrayBuffer.\n```\n\n```javascript\nbb.bigEndian = true; // Switch to big endian (default is little)\n```\n\n### Methods\n\n#### BitView(buffer, optional byteOffset, optional byteLength)\n\nDefault constructor, takes in a single argument of an ArrayBuffer. Optional are the `byteOffset` and `byteLength` arguments to offset and truncate the view's representation of the buffer.\n\n### getBits(offset, bits, signed)\n\nReads `bits` number of bits starting at `offset`, twiddling the bits appropriately to return a proper 32-bit signed or unsigned value. NOTE: While JavaScript numbers are 64-bit floating-point values, we don't bother with anything other than the first 32 bits.\n\n### getInt8, getUint8, getInt16, getUint16, getInt32, getUint32(offset)\n\nShortcuts for getBits, setting the correct `bits` / `signed` values.\n\n### getFloat32(offset)\n\nGets 32 bits from `offset`, and coerces and returns as a proper float32 value.\n\n### getFloat64(offset)\n\nGets 64 bits from `offset`, and coerces and returns as a proper float64 value.\n\n### setBits(offset, value, bits)\n\nSets `bits` number of bits at `offset`.\n\n### setInt8, setUint8, setInt16, setUint16, setInt32, setUint32(offset)\n\nShortcuts for setBits, setting the correct `bits` count.\n\n### setFloat32(offset)\n\nCoerces a float32 to uint32 and sets at `offset`.\n\n### setFloat64(offset)\n\nCoerces a float64 to two uint32s and sets at `offset`.\n\n\n## BitStream\n\n### Attributes\n\n```javascript\nbb.view;  // Underlying BitView\n```\n\n```javascript\nbb.length; // Get the length of the stream in bits\n```\n\n```javascript\nbb.bitsLeft; // The number of bits left in the stream\n```\n\n```javascript\nbb.index; // Get the current index in bits\nbb.index = 0// Set the current index in bits\n```\n\n```javascript\nbb.bigEndian = true; // Switch to big endian (default is little)\n```\n\n### Methods\n\n#### BitStream(view)\n\nDefault constructor, takes in a single argument of a `BitView`, `ArrayBuffer` or node `Buffer`.\n\n#### BitSteam(buffer, optional byteOffset, optional byteLength)\n\nShortcut constructor that initializes a new `BitView(buffer, byteOffset, byteLength)` for the stream to use.\n\n#### readBits(bits, signed)\n\nReturns `bits` numbers of bits from the view at the current index, updating the index.\n\n#### writeBits(value, bits)\n\nSets `bits` numbers of bits from `value` in the view at the current index, updating the index.\n\n#### readUint8(), readUint16(), readUint32(), readInt8(), readInt16(), readInt32()\n \nRead a 8, 16 or 32 bits (unsigned) integer at the current index, updating the index.\n\n#### writeUint8(value), writeUint16(value), writeUint32(value), writeInt8(value), writeInt16(value), writeInt32(value)\n \nWrite 8, 16 or 32 bits from `value` as (unsigned) integer at the current index, updating the index.\n\n#### readFloat32(), readFloat64()\n\nRead a 32 or 64 bit floating point number at the current index, updating the index.\n\n#### writeFloat32(value), writeFloat64()\n\nSet 32 or 64 bits from `value` as floating point value at the current index, updating the index.\n\n#### readBoolean()\n\nRead a single bit from the view at the current index, updating the index.\n\n#### writeBoolean(value)\n\nWrite a single bit to the view at the current index, updating the index.\n\n#### readASCIIString(optional bytes), readUTF8String(optional bytes)\n\nReads bytes from the underlying view at the current index until either `bytes` count is reached or a 0x00 terminator is reached. \n\n#### writeASCIIString(string, optional bytes), writeUTF8String(string, optional bytes)\n\nWrites a string followed by a NULL character to the underlying view starting at the current index. If the string is longer than `bytes` it will be truncated, and if it is shorter 0x00 will be written in its place.\n\n#### readBytes(size)\n\nRead a `size` bytes into a new Uint8Array instance.\n\n#### writeBytes(buffer, size)\n\nWrite `size` bytes from a given Uint8Array instance.\n\n## license\n\nMIT\n","readmeFilename":"README.md"}