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

Usage in Deno

import { type promises } from "node:fs";
FileHandle.readv(
buffers: readonly ArrayBufferView[],
position?: number,
): Promise<ReadVResult>

Read from a file and write to an array of 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: