fs.writeSync(fd, buffer[, offset[, length[, position]]])
fd
<integer>buffer
<Buffer> | <TypedArray> | <DataView>offset
<integer>length
<integer>position
<integer>- 返回: <number> 写入的字节数。
有关详细信息,请参阅此 API 的异步版本的文档:fs.write(fd, buffer...)
。
fd
<integer>buffer
<Buffer> | <TypedArray> | <DataView>offset
<integer>length
<integer>position
<integer>- Returns: <number> The number of bytes written.
For detailed information, see the documentation of the asynchronous version of
this API: fs.write(fd, buffer...)
.