Expand description
Native compress module for data compression and decompression.
Exports: compress.gzip, compress.gunzip, compress.zstd, compress.unzstd, compress.deflate, compress.inflate
Phase 4b: all 6 exports migrated to TypedModuleExports.
Phase 2c: ported to the typed marshal layer (option β: owned Vec<i64>
/ Vec<u8> / Arc<String> via FromSlot, TypedReturn::Concrete( ConcreteReturn::Bytes | ConcreteReturn::String) outputs). The 3 compress
functions return ConcreteReturn::Bytes (semantically Array<int> of
u8 widened to i64); the 3 decompress functions return
ConcreteReturn::String.
Functions§
- create_
compress_ module - Create the
compressmodule with compression/decompression functions.