Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/compress/gzip/gzip.ts>getHeader

compress and uncompress for Deno
Latest
function getHeader
import { getHeader } from "https://deno.land/x/compress@v0.5.0/gzip/gzip.ts";

Generates the header for a GZIP file.

Parameters

optional
options: Options = [UNSUPPORTED]
  • Optional parameters.

Returns

Uint8Array
  • The byte array of the GZIP file header.