Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
gzip.hpp File Reference

GZIP compression codec for Signet Forge (wraps zlib). More...

Go to the source code of this file.

Detailed Description

GZIP compression codec for Signet Forge (wraps zlib).

Thin wrapper around zlib (deflate/inflate with gzip framing) conforming to the CompressionCodec interface. Conditionally compiled when SIGNET_HAS_GZIP is defined (set by CMake when zlib is found via SIGNET_ENABLE_GZIP=ON).

The Parquet spec's GZIP codec uses standard gzip format (RFC 1952), which is zlib's deflate with windowBits = 15 + 16 to enable the gzip header and trailer.

Usage
signet::forge::register_gzip_codec(); // once at startup
// Then use compress()/decompress() via the CodecRegistry automatically.
See also
CompressionCodec, CodecRegistry, register_gzip_codec()

Definition in file gzip.hpp.