ZlibInput.this

Constructs a new zlib decompression filter. You need to pass in the stream that the decompression filter will read from. If you are using this filter with a conduit, the idiom to use is:

auto input = new ZlibInput(myConduit.input);
input.read(myContent);

The optional windowBits parameter is the base two logarithm of the window size, and should be in the range 8-15, defaulting to 15 if not specified. Additionally, the windowBits parameter may be negative to indicate that zlib should omit the standard zlib header and trailer, with the window size being -windowBits.

Parameters

stream InputStream

Compressed input stream.

Meta