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

x/polkadot/wasm-util/mod.ts>unzlibSync

Package publishing for deno.land/x/polkadot
Go to Latest
function unzlibSync
import { unzlibSync } from "https://deno.land/x/polkadot@0.2.35/wasm-util/mod.ts";

Expands Zlib data

Parameters

data: Uint8Array

The data to decompress

optional
out: Uint8Array

Where to write the data. Saves memory if you know the decompressed size and provide an output buffer of that length.