Files
node/doc/api
wbt da87c731b8 fs: fix default length parameter for fs.read
Currently, specifying an `offset` without a `length`
throws an `ERR_OUT_OF_RANGE` error.
This commit provides a more sensible default.
This change should only affect cases
where no length is specified and a nonzero offset is,
which are currently throwing errors.

PR-URL: https://github.com/nodejs/node/pull/40349
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2022-04-23 22:26:08 -04:00
..
2022-04-20 20:34:19 -04:00
2022-04-23 22:26:08 -04:00
2022-04-20 20:34:20 -04:00
2022-04-23 22:26:04 -04:00
2022-04-23 22:25:49 -04:00
2022-04-20 03:44:01 -04:00
2021-10-04 20:30:50 +02:00
2022-04-23 22:26:04 -04:00
2022-03-14 09:32:02 -04:00
2022-04-23 22:26:04 -04:00
2022-04-23 22:26:04 -04:00