Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bit-buffer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bit-buffer - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name": "bit-buffer",
"version": "0.0.2",
"version": "0.0.3",
"description": "Bit-level reads and writes for ArrayBuffers",

@@ -23,5 +23,5 @@ "main": "bit-buffer.js",

"author": "Anthony Pesch",
"license": "BSD",
"license": "MIT",
"gitHead": "cd4417237bed1f22dd5adfd8a6b961ea7234d9c9",
"readmeFilename": "README.md"
}

@@ -1,3 +0,2 @@

BitBuffer
==========
# BitBuffer

@@ -92,1 +91,6 @@ BitBuffer 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.

Writes 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.
## license
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc