File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -258,9 +258,7 @@ added: v10.0.0
258258* `buffer` {Buffer|TypedArray|DataView} A buffer that will be filled with the
259259 file data read.
260260* `offset` {integer} The location in the buffer at which to start filling.
261- **Default:** `0`
262- * `length` {integer} The number of bytes to read. **Default:**
263- `buffer.byteLength`
261+ * `length` {integer} The number of bytes to read.
264262* `position` {integer} The location where to begin reading data from the
265263 file. If `null`, data will be read from the current file position, and
266264 the position will be updated. If `position` is an integer, the current
@@ -2836,11 +2834,9 @@ changes:
28362834
28372835* `fd` {integer}
28382836* `buffer` {Buffer|TypedArray|DataView} The buffer that the data will be
2839- written to. **Default:** `Buffer.alloc(16384)`
2840- * `offset` {integer} The position in `buffer` to write the data to. **Default:**
2841- `0`
2842- * `length` {integer} The number of bytes to read. **Default:**
2843- `buffer.byteLength`
2837+ written to.
2838+ * `offset` {integer} The position in `buffer` to write the data to.
2839+ * `length` {integer} The number of bytes to read.
28442840* `position` {integer|bigint} Specifies where to begin reading from in the
28452841 file. If `position` is `null` or `-1 `, data will be read from the current
28462842 file position, and the file position will be updated. If `position` is an
You can’t perform that action at this time.
0 commit comments