Available
amalgame-compress
zlib gzip + raw deflate over List<int>.
Overview
Wrapper around system zlib (dynamic-linked). gzip and raw-deflate on List<int> buffers. Used by Mosaic for HTTP compression (gzip), by net-kafka for message compression.
Features
- ✓gzip encode/decode
- ✓raw-deflate encode/decode
- ✓Configurable compression level (1-9)
- ✓Callback streaming for large sizes
- ✓Dynamic-link wrapper to system
zlib
Example
Minimal usage example — copy-paste runnable after install.
amc package add compress
let zipped = Compress.GzipEncode("repeated string ".Bytes() * 100)
let plain = Compress.GzipDecode(zipped)
At a glance
- License: Apache-2.0
- Install:
amc package add compress - Source: amalgame-lang/amalgame-compress
- Official index: amalgame-lang/packages-index