System.IO.Compression.GZipStream: Method Members

The methods of System.IO.Compression.GZipStream are listed below. For a list of all members, see the GZipStream Members list.

See Also: Inherited members from System.IO.Stream

Public Methods

override
BeginRead(byte[], int, int, AsyncCallback, object) : IAsyncResult

Begins an asynchronous read operation. (Consider using the System.IO.Stream.ReadAsync(Byte[], int, int) method instead; see the Remarks section.)

override
BeginWrite(byte[], int, int, AsyncCallback, object) : IAsyncResult

Begins an asynchronous write operation. (Consider using the System.IO.Stream.WriteAsync(Byte[], int, int) method instead; see the Remarks section.)

override
EndRead(IAsyncResult) : int

Waits for the pending asynchronous read to complete. (Consider using the the System.IO.Stream.ReadAsync(Byte[], int, int) method instead; see the Remarks section.)

override
EndWrite(IAsyncResult)

Handles the end of an asynchronous write operation. (Consider using the System.IO.Stream.WriteAsync(Byte[], int, int) method instead; see the Remarks section.)

override
Flush()

The current implementation of this method has no functionality.

override
Read(byte[], int, int) : int

Reads a number of decompressed bytes into the specified byte array.

override
Seek(long, System.IO.SeekOrigin) : long

This property is not supported and always throws a NotSupportedException.

override
SetLength(long)

This property is not supported and always throws a NotSupportedException.

override
Write(byte[], int, int)

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

Protected Methods

override
Dispose(bool)

Releases the unmanaged resources used by the System.IO.Compression.GZipStream and optionally releases the managed resources.