filehandle.write(buffer[, options])
buffer<Buffer> | <TypedArray> | <DataView>options<Object>- 返回:<Promise>
将 buffer 写入文件。
🌐 Write buffer to the file.
类似于上面的 filehandle.write 函数,这个版本也接受一个可选的 options 对象。如果没有指定 options 对象,它将使用上述默认值。
🌐 Similar to the above filehandle.write function, this version takes an
optional options object. If no options object is specified, it will
default with the above values.