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

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

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

Simple file writer (call FileWriter.dispose() after use)

Constructors

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

Properties

private
optional
file: Deno.File

Methods

dispose(): void
write(p: Uint8Array): Promise<number>