File tree 1 file changed +4
-8
lines changed
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
258
258
* ` buffer` {Buffer|TypedArray|DataView} A buffer that will be filled with the
259
259
file data read.
260
260
* ` 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.
264
262
* ` position` {integer} The location where to begin reading data from the
265
263
file. If ` null ` , data will be read from the current file position, and
266
264
the position will be updated. If ` position` is an integer, the current
@@ -2836,11 +2834,9 @@ changes:
2836
2834
2837
2835
* ` fd` {integer}
2838
2836
* ` 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.
2844
2840
* ` position` {integer|bigint} Specifies where to begin reading from in the
2845
2841
file. If ` position` is ` null ` or ` - 1 ` , data will be read from the current
2846
2842
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