Overview

std.compress

Comprehensive reference for Zig's std.compress module covering binary parsing, archive handling, and structured formats.
This page syncs automatically from Zig's source: std/compress.md.

Zig Standard Library Documentation

KeyValue
Modulestd.compress
Declarations5
Breakdown5 modules
Generated (unix epoch)1760148103

Overview

Compression algorithms.


Table of Contents


Modules (5)

flate

Module – gzip and zlib are here

gzip and zlib are here.

pub const flate = @import("compress/flate.zig")

Module: compress/flate.zig → See source


lzma

Module – Expand to view import information and documentation.
pub const lzma = @import("compress/lzma.zig")

Module: compress/lzma.zig → See source


lzma2

Module – Expand to view import information and documentation.
pub const lzma2 = @import("compress/lzma2.zig")

Module: compress/lzma2.zig → See source


xz

Module – Expand to view import information and documentation.
pub const xz = @import("compress/xz.zig")

Module: compress/xz.zig → See source


zstd

Module – Expand to view import information and documentation.
pub const zstd = @import("compress/zstd.zig")

Module: compress/zstd.zig → See source