GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: update Buffer(size) documentation · nodejs/node@e20fe53

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • buffer.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/buffer.md‎

Copy file name to clipboardExpand all lines: doc/api/buffer.md
+1-3Lines changed: 1 addition & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2529,9 +2529,7 @@ changes:
25292529
* `size` {integer} The desired length of the new `Buffer`.
25302530

25312531
See [`Buffer.alloc()`][] and [`Buffer.allocUnsafe()`][]. This variant of the
2532-
constructor is equivalent to [`Buffer.allocUnsafe()`][], although using
2533-
[`Buffer.alloc()`][] is recommended in code paths that are not critical to
2534-
performance.
2532+
constructor is equivalent to [`Buffer.alloc()`][].
25352533

25362534
### `new Buffer(string[, encoding])`
25372535
<!-- YAML

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.