Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c31eaad

Browse filesBrowse files
stevemaoMyles Borins
authored andcommitted
doc: clarify buffer class
Fixes: #6891 PR-URL: #6914 Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent e0dd476 commit c31eaad
Copy full SHA for c31eaad

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/buffer.markdown‎

Copy file name to clipboardExpand all lines: doc/api/buffer.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.