| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a38ad07 commit 1a4d34e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2162,8 +2162,14 @@ user programs. | |||
| 2162 | 2162 | ||
| 2163 | 2163 | #### `writable._writev(chunks, callback)` | |
| 2164 | 2164 | ||
| 2165 | - * `chunks` {Object[]} The chunks to be written. Each chunk has following | ||
| 2166 | - format: `{ chunk: ..., encoding: ... }`. | ||
| 2165 | + * `chunks` {Object[]} The data to be written. The value is an array of {Object} | ||
| 2166 | + that each represent a discreet chunk of data to write. The properties of | ||
| 2167 | + these objects are: | ||
| 2168 | + * `chunk` {Buffer|string} A buffer instance or string containing the data to | ||
| 2169 | + be written. The `chunk` will be a string if the `Writable` was created with | ||
| 2170 | + the `decodeStrings` option set to `false` and a string was passed to `write()`. | ||
| 2171 | + * `encoding` {string} The character encoding of the `chunk`. If `chunk` is | ||
| 2172 | + a `Buffer`, the `encoding` will be `'buffer`. | ||
| 2167 | 2173 | * `callback` {Function} A callback function (optionally with an error | |
| 2168 | 2174 | argument) to be invoked when processing is complete for the supplied chunks. | |
| 2169 | 2175 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments