Method
CreateDecompressor
static func CreateDecompressor(input: InputStream, leaveOpen: bool = false) -> GZipStream
Declaring type: GZipStream
Module: System.IO.Compression
Assembly: System.Runtime.dll
Source file: GZipStream.rvn
Creates a decoder for stored, fixed and dynamic DEFLATE blocks and concatenated gzip members.
Parameters
| Name | Type | Description |
|---|---|---|
input |
InputStream | A gzip-only source ending at EOF; optional headers, CRC32 and sizes are checked. |
leaveOpen |
Boolean | Preserve the underlying stream when Close is called. |
Return value
An input-mode wrapper; Write, Flush and Finish return WrongAccess.