Skip to content

Commit c31eaad

Browse files
stevemaoMyles Borins
authored and
Myles Borins
committedJun 24, 2016
doc: clarify buffer class
Fixes: #6891 PR-URL: #6914 Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent e0dd476 commit c31eaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/buffer.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The size of the `Buffer` is established when it is created and cannot be
1818
resized.
1919

2020
The `Buffer` class is a global within Node.js, making it unlikely that one
21-
would need to ever use `require('buffer')`.
21+
would need to ever use `require('buffer').Buffer`.
2222

2323
```js
2424
const buf1 = new Buffer(10);

0 commit comments

Comments
 (0)
Please sign in to comment.