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

Usage in Deno

```typescript import { type FileHandle } from "node:node__fs--promises.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: