Function readvSync

  • Synchronous readv. Reads from a file descriptor into multiple buffers.

    Parameters

    • fd: number

      The file descriptor.

    • buffers: readonly ArrayBufferView[]

      An array of Uint8Array buffers.

    • Optionalposition: number

      The position in the file where to begin reading.

    Returns number

    The number of bytes read.