Function unzipSrc

Get a stream source that unzips an iopipe of ubytes. The source stream should be compressed in the appropriate format.

auto auto unzipSrc(Chain) (
  Chain c,
  CompressionFormat format = CompressionFormat.determineFromData
if (isIopipe!Chain && is(WindowType!Chain : const(ubyte)[]));

This is the source that unzip uses to decompress.


c The input iopipe that provides the compressed data. The window type MUST be implicitly convertable to an array of const ubytes.
format The specified format of the data, leave the default to autodetect.


An input stream whose read method decompresses the input iopipe into the given buffer.