Releases: adam-fowler/compress-nio
Releases · adam-fowler/compress-nio
v0.4.0
- Allow
ByteBuffer.compress(with:flush:process)
to be called multiple times within one compression stream. - Added
NIOCompressor.finishWindowedStream
to avoid having to create an empty ByteBuffer to finish a windowed compress. - Removed LZ4 support
v0.3.0
- Replace
finalise
bool parameter incompressStream
functions withflush
enumCompressNIOFlush
which can be.no
meaning compressor chooses when to flush,.sync
meaning compressor input and output are in sync or.finish
meaning I've finished compressing data. - Added window based compressStream/decompressStream functions. Provide a working window buffer to the compressor/decompressor and it will call a closure everytime the compress/decompress function fills that buffer.
- compress functions only throw
.bufferOverflow
when neither input or output can be processed.
v0.2.0
- Added LZ4 support
- Added
NIOCompressor.resetStream
to support more optimal way to reset stream
v0.1.1
Fixed issue where inflate would return Z_OK with both avail_in and avail_out set to zero.
v0.1.0
Renamed to CompressNIO
v0.0.1
This is the first release of swift-nio-compress.