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

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

compress and uncompress for Deno
Latest
method Inflate.prototype.push
import { Inflate } from "https://deno.land/x/compress@v0.5.2/zlib/inflate.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.