filehandle.readv(buffers[, position])
- '缓冲区' <Buffer[]> | <TypedArray[]> | <DataView[]>
position<integer> | <null> 数据应从文件开头的偏移量开始读取。如果position不是number类型,数据将从当前位置读取。默认值:null- 返回:<Promise> 在成功时返回一个包含两个属性的对象:
bytesRead<integer> 读取的字节数- '缓冲区' <Buffer[]> | <TypedArray[]> | <DataView[]> 属性,包含对“缓冲区”输入的引用。
从文件读取并写入到 <ArrayBufferView> 数组
【Read from a file and write to an array of <ArrayBufferView>s】