1 unstable release

0.5.0 Jun 7, 2024

#683 in Compression


Used in smdiff-merger

MIT license

46KB
936 lines

Notes on Secondary Compressors

In theory compression algorithms should know when they have reached the end of the compressed data to decompress. My issues were finding rust libraries that didn't simply read to EOF.

For some reason the zstd rust lib doesn't behave well. I enabled single frame, but it keeps trying to read non-compressed data. I ended up using the ruzstd crate.


lib.rs:

Re-exports the zstd streaming decoder used Re-exports the brotli decompressor reader used

Dependencies

~2MB
~34K SLoC