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.
InputStream stream | Compressed input stream. |
Encoding encoding | Stream encoding. Defaults to Encoding.Guess, which should be sufficient unless the stream was compressed with no encoding; in this case, you must manually specify Encoding.None. |
int windowBits | The base two logarithm of the window size, and should be in the range 8-15, defaulting to 15 if not specified. |
auto output = new ZlibOutput(myConduit.output); output.write(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.