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

x/compress/gzip/writer_gunzip.ts>default

compress and uncompress for Deno
Go to Latest
class default
implements [Deno.Writer]
extends EventEmitter
import { default } from "https://deno.land/x/compress@v0.2.0/gzip/writer_gunzip.ts";

Constructors

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

Properties

private
chuncks: Uint8Array[]
private
chuncksBytes: number
private
crc32Stream: Crc32Stream
private
inflate: Inflate
private
isCheckHeader: boolean
private
onceSize: number
private
path: string
private
writtenSize: number
protected
bytesWritten: number
protected
writer: File

Methods

close(): void
setup(): Promise<void>
write(p: Uint8Array): Promise<number>