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