Skip to content

gzipReadHeader

gzipReadHeader(data): GzipHeader

Defined in: index.d.ts:1558

Read gzip header metadata without fully decompressing the data.

Returns the parsed header fields including filename, mtime, comment, OS, and extra data.

Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

GzipHeader