diff --git a/doc/api/stream.md b/doc/api/stream.md index 8d67462c1a2c41..baefe01c4178ee 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2022,8 +2022,14 @@ user programs. #### `writable._writev(chunks, callback)` -* `chunks` {Object[]} The chunks to be written. Each chunk has following - format: `{ chunk: ..., encoding: ... }`. +* `chunks` {Object[]} The data to be written. The value is an array of {Object} + that each represent a discreet chunk of data to write. The properties of + these objects are: + * `chunk` {Buffer|string} A buffer instance or string containing the data to + be written. The `chunk` will be a string if the `Writable` was created with + the `decodeStrings` option set to `false` and a string was passed to `write()`. + * `encoding` {string} The character encoding of the `chunk`. If `chunk` is + a `Buffer`, the `encoding` will be `'buffer`. * `callback` {Function} A callback function (optionally with an error argument) to be invoked when processing is complete for the supplied chunks.