This directory contains example programs demonstrating go-openzl usage.
Examples will be added as features are implemented:
- simple: Basic compress/decompress (Phase 1)
- context: Reusable compression contexts (Phase 2)
- numeric: Typed compression for numeric arrays (Phase 3)
- streaming: Streaming compression with io.Reader/Writer (Phase 4)
- file: Compress and decompress files
- benchmark: Compare with other compression libraries
Once implemented, run examples with:
go run examples/simple/main.go
go run examples/context/main.goOr build all examples:
make examples