fs.writeSync(fd, string[, position[, encoding]])
-
fd
<integer> -
string
<string> -
encoding
<string> 默认值:'utf8'
¥
encoding
<string> Default:'utf8'
-
返回:<number> 写入的字节数。
¥Returns: <number> The number of bytes written.
有关详细信息,请参阅此 API 的异步版本的文档:fs.write(fd, string...)
。
¥For detailed information, see the documentation of the asynchronous version of
this API: fs.write(fd, string...)
.