utf8Stream.flush(callback)
-
callback
<Function>
如果写入操作未进行,则将当前缓冲区写入文件。如果 minLength
为零或已在写入,则不执行任何操作。
¥Writes the current buffer to the file if a write was not in progress. Do
nothing if minLength
is zero or if it is already writing.
callback
<Function>
如果写入操作未进行,则将当前缓冲区写入文件。如果 minLength
为零或已在写入,则不执行任何操作。
¥Writes the current buffer to the file if a write was not in progress. Do
nothing if minLength
is zero or if it is already writing.