Skip to content

Commit 2beeb13

Browse files
committed
fix readme
1 parent 4b24d24 commit 2beeb13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ binary.parse(new Buffer([4, 1, 0, 1, 0]))
163163
.word8lu('dataLength')
164164
.tap(function (vars) {
165165
var getInt;
166-
if (vars.dataLength <= 4) {
166+
if (vars.dataLength <= 4 && vars.dataLength !== 3) {
167167
getInt = "word" + (8 * vars.dataLength) + "lu";
168168
this[getInt]('data');
169169
} else {
@@ -296,7 +296,7 @@ Clear the variable stash entirely.
296296
``` js
297297
var pos = binary.parse(new Buffer([5, 0, 80, 11, 184]))
298298
.word8lu('preFlush')
299-
.word8lu('preFlush2)
299+
.word8lu('preFlush2')
300300
.flush()
301301
.word8lu('postFlush')
302302
.word8lu('postFlush2')
@@ -317,7 +317,7 @@ installation
317317
To install with [npm](http://github.com/npm/npm):
318318

319319
```
320-
npm install binary@Casear/node-binary#0.3.0
320+
npm install binary@Casear/node-binary
321321
```
322322

323323
notes

0 commit comments

Comments
 (0)