Skip to content

Releases: adam-fowler/compress-nio

v0.4.0

19 Jan 18:22
Compare
Choose a tag to compare
  • 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

28 Apr 13:22
e372664
Compare
Choose a tag to compare
  • Replace finalise bool parameter in compressStream functions with flush enum CompressNIOFlush 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

26 Apr 09:02
Compare
Choose a tag to compare
  • Added LZ4 support
  • Added NIOCompressor.resetStream to support more optimal way to reset stream

v0.1.1

24 Apr 23:14
Compare
Choose a tag to compare

Fixed issue where inflate would return Z_OK with both avail_in and avail_out set to zero.

v0.1.0

24 Apr 17:44
Compare
Choose a tag to compare

Renamed to CompressNIO

v0.0.1

24 Apr 10:32
f267612
Compare
Choose a tag to compare

This is the first release of swift-nio-compress.