Click or drag to resize

GZipStream Methods

The GZipStream type exposes the following members.

Methods
 NameDescription
Public methodBeginRead Begins an asynchronous read operation.
(Inherited from Stream)
Public methodBeginWrite Begins an asynchronous write operation.
(Inherited from Stream)
Public methodClose Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from Stream)
Public methodDispose Releases all resources used by the Crestron.SimplSharp.CrestronStream.Stream.
(Inherited from Stream)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the System.IO.Compression.GZipStream and optionally releases the managed resources.
(Overrides StreamDispose(Boolean))
Public methodEndRead Waits for the pending asynchronous read to complete.
(Inherited from Stream)
Public methodEndWrite Ends an asynchronous write operation.
(Inherited from Stream)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Destructor for GZipStream.
(Overrides ObjectFinalize)
Public methodFlush Flushes the contents of the internal buffer of the current System.IO.Compression.GZipStream object to the underlying stream.
(Overrides StreamFlush)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRead Reads a number of decompressed bytes into the specified byte array.
(Overrides StreamRead(Byte, Int32, Int32))
Public methodReadByte Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Inherited from Stream)
Public methodSeek This property is not supported and always throws a System.NotSupportedException.
(Overrides StreamSeek(Int64, SeekOrigin))
Public methodSetLength This property is not supported and always throws a System.NotSupportedException.
(Overrides StreamSetLength(Int64))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWrite Writes compressed bytes to the underlying stream from the specified byte array.
(Overrides StreamWrite(Byte, Int32, Int32))
Public methodWriteByte Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream)
Top
See Also