Skip to main content
Module

x/polkadot/mod.ts>wasmUtil.unzlibSync

Package publishing for deno.land/x/polkadot
Go to Latest
function wasmUtil.unzlibSync
import { wasmUtil } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { unzlibSync } = wasmUtil;

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.