Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

zlibSync

Compress data with Zlib

function zlibSync(data: Uint8Array, opts?: ZlibOptions): Uint8Array;
§
zlibSync(data: Uint8Array, opts?: ZlibOptions): Uint8Array
[src]

§Parameters

§
data: Uint8Array
[src]

The data to compress

§
opts?: ZlibOptions optional
[src]

The compression options

§Return Type

§
Uint8Array
[src]

The zlib-compressed version of the data