bin-protocol
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
313
133001
34
2037