Skip to main content
promises.FileHandle.readv - node__fs.d.ts - Node documentation
method promises.FileHandle.readv

Usage in Deno

```typescript import { type promises } from "node:node__fs.d.ts"; ```
FileHandle.readv(
buffers: readonly ArrayBufferView[],
position?: number,
): Promise<ReadVResult>
Read from a file and write to an array of [ArrayBufferView](https://developer.mozilla.org/en-US/docs/Web/API/ArrayBufferView) s

Parameters

buffers: readonly ArrayBufferView[]
optional
position: number = 'null'
The offset from the beginning of the file where the data should be read from. If `position` is not a `number`, the data will be read from the current position.

Return Type

Promise<ReadVResult>
Fulfills upon success an object containing two properties: