doc: specify how to detect EOF
Specify how to detect end-of-file when using fs.read()
and
filehandle.read()
.
Fixes: https://github.com/nodejs/node/issues/35363
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines