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

x/compress/zlib/mod.ts>Inflate#push

compress and uncompress for Deno
Latest
method Inflate.prototype.push
import { Inflate } from "https://deno.land/x/compress@v0.5.0/zlib/mod.ts";

Pushes data to be inflated.

Parameters

data: Uint8Array
  • The compressed data to inflate.
mode: boolean | number
  • The mode for inflation (finish or no flush).

Returns

Uint8Array

The inflated data as a Uint8Array.