filehandle.writev(buffers[, position])


<ArrayBufferView> 的数组写入文件。

使用包含以下两个属性的对象来解决 promise:

在同一文件上多次调用 writev() 而不等待 promise 被解决(或拒绝)是不安全的。

在 Linux 上,以追加模式打开文件时,位置写入不起作用。 内核会忽略位置参数,并始终将数据追加到文件末尾。

Write an array of <ArrayBufferView>s to the file.

The promise is resolved with an object containing a two properties:

It is unsafe to call writev() multiple times on the same file without waiting for the promise to be resolved (or rejected).

On Linux, positional writes don't work when the file is opened in append mode. The kernel ignores the position argument and always appends the data to the end of the file.