Skip to content

Commit

Permalink
例子结果❌
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelYgZhang committed May 31, 2016
1 parent 9d51ff7 commit b13b570
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buffers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ for (var i = 0; i < str.length ; i += 1) {
buf[i] = str.charCodeAt(i);
}
console.log(buf);
// node.js```
//❌ node.js
//✅ <Buffer 6e 6f 64 65 2e 6a 73>
```
**Buffer.byteLength(string, encoding='utf8')**
Expand Down

0 comments on commit b13b570

Please sign in to comment.