kanzi-cpp

Fast lossless data compression in C++

22 articles 200 View on GitHub ↗
22 articles
How to Perform a Cross-Platform Build of Kanzi Using Visual Studio, GCC, or Clang

Learn to cross-compile Kanzi C++ on Windows Linux and macOS using Visual Studio GCC or Clang. Master Kanzi builds with detailed instructions for each compiler and platform.

how-to-guide
Mar 2, 2026
Understanding Seekable Bitstreams and Independent Block Decompression in Kanzi

Explore Kanzi's seekable bitstreams and independent block decompression for O(1) random access and parallel decompression with the kanzi::Seekable interface.

deep-dive
Mar 2, 2026
How to Use the DNA Transform for Compressing Genomic Data in Kanzi

Learn how to use the DNA transform in Kanzi for efficient genomic data compression. Kanzi automatically optimizes nucleotide alphabet mapping for high compression ratios without manual setup.

how-to-guide
Mar 2, 2026
Using the Kanzi EXE Transform for x86 and ARM64 Executable Compression

Compress x86 and ARM64 executables with the Kanzi EXE transform. Learn how this preprocessing step normalizes branches for more efficient compression and smaller file sizes.

how-to-guide
Mar 2, 2026
How Kanzi’s UTF-8 Transform Handles International Character Data

Discover how Kanzi's UTF-8 transform efficiently handles international character data by validating Unicode text, packing code points, and using short aliases for lossless multilingual data reconstruction.

deep-dive
Mar 2, 2026
TPAQ vs TPAQX: Choosing Neural Network-Based Compression in Kanzi

Decide between TPAQ and TPAQX for Kanzi neural network compression. Choose TPAQ for balanced performance or TPAQX for max compression with higher RAM usage and slower speeds.

best-practices
Mar 2, 2026
How to Build Kanzi as a Shared Library (.so/.dll) for Dynamic Linking

Build Kanzi as a shared library (.so/.dll) for dynamic linking. Learn how to create libkanzi_shared using CMake and link your application efficiently.

how-to-guide
Mar 2, 2026
How to Handle Errors and Detect Corrupted Data When Using Kanzi: Complete Validation Guide

Learn how Kanzi detects corrupted data through header integrity, block checksums, and output size verification. Handle errors using IOException or numeric codes.

how-to-guide
Mar 2, 2026
What Is the Performance Impact of Tuning Kanzi Block Sizes?

Discover the performance impact of tuning Kanzi block sizes from 4MB to 1GB. Learn how smaller blocks boost CPU use and larger blocks affect encoding speed.

performance
Mar 2, 2026
Implementing Streaming Compression and Decompression with Kanzi: A Complete C++ Guide

Implement streaming compression and decompression in C++ with Kanzi's CompressedOutputStream and CompressedInputStream. Process data incrementally, leveraging multi-core parallelism for efficiency. A complete guide for developers.

how-to-guide
Mar 2, 2026
Understanding the Internals of Kanzi's CM (Context Mixing) Entropy Codec

Explore Kanzi's CM entropy codec internals. Learn how it uses a binary arithmetic coder and context mixing predictor with count tables for efficient data compression.

internals
Mar 2, 2026
Optimize Kanzi for Compression Ratio vs. Decompression Speed: A Complete Guide

Master Kanzi compression ratio vs decompression speed. Adjust level, block size, and threads for optimal performance. Learn how to tune complex transforms and fast decoding pipelines.

how-to-guide
Mar 2, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →