Noemax DotNetGZip Report an issue | Discuss in forums
GZipStream.Flush() Method
See Also 
Noemax.GZip Assembly > Noemax.GZip Namespace > GZipStream Class : Flush Method



Flushes the content of the internal buffer to the underlying stream.


Namespace: Noemax.GZip
Assembly: Noemax.GZip (in Noemax.GZip.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public Sub Flush() 
Visual Basic (Usage)Copy Code
Dim instance As GZipStream
 
instance.Flush()
C# 
public override void Flush()
C++/CLI 
public:
void Flush(); override 

Remarks

When writing using the Write method, the data may not be written to the stream since writing the data back in chunks can provide better performance. Calling the Flush method forces the data to be written.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

GZipStream Class
GZipStream Members
Base Implementation in System.IO.Stream