Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/foras/src/deno/mod.ts>GzEncoder

WebAssembly port of Rust's flate2, a Rust implementation of Deflate, Gzip, and Zlib compressions
Go to Latest
class GzEncoder
import { GzEncoder } from "https://deno.land/x/foras@2.0.6/src/deno/mod.ts";

Constructors

new
GzEncoder(compression?: number)

Methods

finish(): Uint8Array
flush(): void
free(): void
read(): Uint8Array
write(input: Uint8Array): void