Skip to main content
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.33/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.