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: clarify descriptions of _writev chunks argument · nodejs/node@f605bc0

File tree

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

‎doc/api/stream.md‎

Copy file name to clipboardExpand all lines: doc/api/stream.md
+8-2Lines changed: 8 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2022,8 +2022,14 @@ user programs.
20222022

20232023
#### `writable._writev(chunks, callback)`
20242024

2025-
* `chunks` {Object[]} The chunks to be written. Each chunk has following
2026-
format: `{ chunk: ..., encoding: ... }`.
2025+
* `chunks` {Object[]} The data to be written. The value is an array of {Object}
2026+
that each represent a discreet chunk of data to write. The properties of
2027+
these objects are:
2028+
* `chunk` {Buffer|string} A buffer instance or string containing the data to
2029+
be written. The `chunk` will be a string if the `Writable` was created with
2030+
the `decodeStrings` option set to `false` and a string was passed to `write()`.
2031+
* `encoding` {string} The character encoding of the `chunk`. If `chunk` is
2032+
a `Buffer`, the `encoding` will be `'buffer`.
20272033
* `callback` {Function} A callback function (optionally with an error
20282034
argument) to be invoked when processing is complete for the supplied chunks.
20292035

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.