import { brotli } from "https://deno.land/x/aleph@v0.3.0-alpha.2/deps.ts";
const { decompress } = brotli;
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