Comparing version 2.0.0-1 to 2.0.0
{ | ||
"name": "iobuffer", | ||
"version": "2.0.0-1", | ||
"version": "2.0.0", | ||
"description": "Read and write binary data on ArrayBuffers", | ||
"main": "./IOBuffer.js", | ||
"files": [ | ||
"IOBuffer.js" | ||
], | ||
"scripts": { | ||
@@ -22,7 +25,7 @@ "test": "mocha --require should --reporter mocha-better-spec-reporter --recursive", | ||
"devDependencies": { | ||
"babel-istanbul": "^0.3.20", | ||
"babel-istanbul": "^0.4.0", | ||
"mocha": "^2.3.3", | ||
"mocha-better-spec-reporter": "^2.1.2", | ||
"mocha-better-spec-reporter": "^3.0.0", | ||
"should": "^7.1.0" | ||
} | ||
} |
@@ -18,6 +18,8 @@ # iobuffer | ||
### Buffer | ||
### IOBuffer | ||
`InputBuffer` and `OutputBuffer` both inherit from `Buffer` which defines the following interface: | ||
#### new IOBuffer(data) | ||
`data` can be an ArrayBuffer or any Typed Array (including Node.js' Buffer from v4). | ||
#### buffer | ||
@@ -71,10 +73,4 @@ | ||
### InputBuffer | ||
#### Read methods | ||
#### new InputBuffer(data) | ||
`data` can be an ArrayBuffer or any Typed Array (including Node.js' Buffer from v4). | ||
#### Methods | ||
Each method returns the value and moves the pointer forward by the number of read bytes. | ||
@@ -81,0 +77,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
9989
4
199
99