System.IO.Compression.GZipStream.Write Method

Writes compressed bytes to the underlying stream from the specified byte array.

Syntax

public override void Write (byte[] src, int src_offset, int count)

Parameters

src
Documentation for this section has not yet been entered.
src_offset
Documentation for this section has not yet been entered.
count
The maximum number of bytes to write.

Remarks

The write operation might not occur immediately but is buffered until the buffer size is reached or until the GZipStream.Flush or System.IO.Stream.Close method is called.

Requirements

Namespace: System.IO.Compression
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0