Skip to content

Commit

Permalink
fix error in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed May 4, 2012
1 parent 74da4c6 commit 1164616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -38,7 +38,7 @@ var ref = require('ref')
// so we can all agree that a buffer with the int value written
// to it could be represented as an "int *"
var buf = new Buffer(4)
buf.writeInt32LE(12345)
buf.writeInt32LE(12345, 0)

// first, what is the memory address of the buffer?
console.log(buf.address())
Expand Down

0 comments on commit 1164616

Please sign in to comment.