Comprehensive LZ4 compression bindings for Zig 0.14.1 using C interop. Perfect for compressing images, GIFs, videos, and any binary data in wallpaper daemons, video players, and multimedia applications.

Features

  • Full LZ4 API coverage including:

  • Basic compression/decompression

  • High compression (HC) mode

  • Streaming API for continuous data

  • Frame API with metadata support

  • Dictionary support

  • Optimized for multimedia data (images, GIFs, video frames)

  • Zero-copy where possible

  • Comprehensive test suite

  • Easy integration into existing projects

Requirements

  • Zig 0.14.1 or later
  • liblz4 installed on your system

Installing liblz4

Ubuntu/Debian:

sudo apt-get install liblz4-dev

Fedora/RHEL:

sudo dnf install lz4-devel

**macOS:*…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help