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

x/foras/src/deno/mods/mod.ts>DeflateEncoder

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

Constructors

new
DeflateEncoder(compression?: number)

Methods

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