import { deflateEncode } from "https://deno.land/x/simple_utility@v0.4.2/mod.ts";
Compress binary with "deflate" format. Does not contain header such as "gzip" (RFC1952) or "zlib" (RFC1950).
Examples
Example 1
Example 1
const bin = await Deno.readFile("./file");
const converted = await deflateEncode(bin);
const restored = await deflateDecode(converted);