Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

docs: Added missing parenthesis to buffer.readUInt8 example.

Fixes #1790.
  • Loading branch information...
koichik committed Sep 30, 2011
1 parent 84641fc commit 530082932d8a321095d9aba33d81be01da630022
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/buffers.markdown
@@ -189,7 +189,7 @@ Example:
buf[3] = 0x42;

for (ii = 0; ii < buf.length; ii++) {
console.log(buf.readUInt8(ii);
console.log(buf.readUInt8(ii));
}

// 0x3

0 comments on commit 5300829

Please sign in to comment.
You can’t perform that action at this time.