fs.readSync(fd, buffer, offset, length, position)


返回 bytesRead 的数量。

有关详细信息,请参阅此 API 的异步版本的文档:fs.read()

Returns the number of bytesRead.

For detailed information, see the documentation of the asynchronous version of this API: fs.read().