Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

CreateCompressor

static func CreateCompressor(output: OutputStream, leaveOpen: bool = false) -> GZipStream

Declaring type: GZipStream
Module: System.IO.Compression
Assembly: System.Runtime.dll
Source file: GZipStream.rvn

Creates an incremental compressor using fixed Huffman DEFLATE with LZ77 matching.

Parameters

Name Type Description
output OutputStream Destination receiving complete gzip framing after Finish.
leaveOpen Boolean Preserve the underlying stream when Close is called.

Return value

GZipStream

An output-mode wrapper; Read returns WrongAccess.