This is a rough translation of Go's snappy library for Zig. It only supports the block format. The streaming format may be added in the future.
Expect some sharp edges. This is my first time writing Zig! I would greatly appreciate any issues or pull requests to improve the code, write tests, or just critique in general.
See the binary in the repository.
MIT