JuliaIO / GZip.jl

A Julia interface for gzip functions in zlib
https://juliaio.github.io/GZip.jl/dev
MIT License
39 stars 30 forks source link

Support for data streaming compression/decompression #89

Closed baumgold closed 1 year ago

baumgold commented 2 years ago

I'd like to be able to use zlib's inflate/deflate functionality to compress/uncompress a stream of data in-memory. An example use-case is to be able to read compress data from or write compressed data to a file opened with mmap such that the entire contents of the file doesn't have to be loaded in-memory at once (useful for large files).

For reference: http://zlib.net/manual.html

baumgold commented 2 years ago

Possibly a better solution is to use JuliaIO/CodecZlib.jl