Edit

Share via


GZipStream.Flush Method

Definition

Flushes the internal buffers.

public:
 override void Flush();
public override void Flush ();
override this.Flush : unit -> unit
Public Overrides Sub Flush ()

Exceptions

The underlying stream is closed.

Remarks

This method flushes only if the current compression mode is Compress and the underlying stream still has some input left to write.

Applies to