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

x/compress/gzip/writer_gzip.ts>default

compress and uncompress for Deno
Latest
class default
implements StdWriter
extends EventEmitter
import { default } from "https://deno.land/x/compress@v0.5.2/gzip/writer_gzip.ts";

Constructors

new
default(path: string, options?: Options)

Properties

private
bytesWritten: number
private
chuncks: Uint8Array[]
private
chuncksBytes: number
private
crc32Stream: Crc32Stream
private
deflate: Deflate
private
onceSize: number
private
path: string
private
writer: File

Methods

private
getTail()
close(): void
setup(name?: string, timestamp?: number): Promise<void>
write(p: Uint8Array): Promise<number>