Module

x/lume/deps/brotli.ts>decompress

🔥 Static site generator for Deno 🦕
Very Popular
Latest
function decompress
import { decompress } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/brotli.ts";

Decompress a byte array.

import { decompress } from "https://deno.land/x/brotli/mod.ts";
const compressed = Uint8Array.from([ 27, 63, 0, 0, 36, 176, 226, 153, 64, 18 ]);
console.log(compressed.length);             // 10 Bytes
console.log(decompress(compressed).length); // 64 Bytes

Parameters

input: Uint8Array

Input data.

optional
bufferSize = [UNSUPPORTED]

Read buffer size

Returns

Uint8Array