Skip to main content

readv

method FileHandle.readv
Jump to headingFileHandle.readv(
buffers: readonly ArrayBufferView[],
position?: number,
): Promise<ReadVResult>

Read from a file and write to an array of ArrayBufferView s

Parameters Jump to heading

Jump to headingbuffers: readonly ArrayBufferView[]
optional
Jump to headingposition: 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 Jump to heading

Promise<ReadVResult>

Fulfills upon success an object containing two properties:

Back to top