filehandle.readv(buffers[, position])
buffers
<ArrayBufferView[]>position
<integer>- 返回: <Promise>
从文件读取并写入 ArrayBufferView
的数组
如果 typeof position !== 'number'
,则从当前位置读取数据。
buffers
<ArrayBufferView[]>position
<integer>- Returns: <Promise>
Read from a file and write to an array of ArrayBufferView
s
The Promise
is resolved with an object containing a bytesRead
property
identifying the number of bytes read, and a buffers
property containing
a reference to the buffers
input.
position
is the offset from the beginning of the file where this data
should be read from. If typeof position !== 'number'
, the data will be read
from the current position.