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

API Browser

Method

Close

func Close() -> ()

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

Implements InputStream.Close, OutputStream.Close

Discards wrapper state and closes the underlying stream unless leaveOpen was selected; idempotent.

Return value

()

Remarks

Close never finishes or flushes compression. Await Finish and Flush first to observe errors. Closing during an operation does not cancel the underlying operation.