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

bin-protocol

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bin-protocol - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json

@@ -9,3 +9,3 @@ {

},
"version": "3.0.0",
"version": "3.0.1",
"main": "./lib/index.js",

@@ -12,0 +12,0 @@ "keywords": [

@@ -169,2 +169,3 @@ # bin-protocol

Read data with your own code:
```javascript

@@ -177,3 +178,3 @@ protocol.define('customArray', {

for(i = 0; i<this.context.length; i++){
this.Int32BE('items[' + i + ']'); // yes, it works
this.Int32BE(['items', i]);
}

@@ -189,2 +190,3 @@

Read with `.loop()` method by providing the length (loop count):
```javascript

@@ -204,2 +206,3 @@ protocol.define('loopArray', {

Read with `.loop()` method until the `end()` is called:
```javascript

@@ -206,0 +209,0 @@ protocol.define('loopArrayEnd', {

Sorry, the diff of this file is not supported yet

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