Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/archive/tar.ts>FileReader

A modern runtime for JavaScript and TypeScript.
Go to Latest
class FileReader
implements [Deno.Reader]
import { FileReader } from "https://deno.land/x/deno@v0.22.0/std/archive/tar.ts";

Simple file reader

Constructors

new
FileReader(filePath: string, mode?: Deno.OpenMode)

Properties

private
optional
file: Deno.File

Methods

read(p: Uint8Array): Promise<number | Deno.EOF>