GZip |
public class GZipStream : Stream
The GZipStream type exposes the following members.
| Name | Description | |
|---|---|---|
| GZipStream(Stream, CompressionMode) | Initializes a new instance of the System.IO.Compression.GZipStream class using the specified stream and System.IO.Compression.CompressionMode value. | |
| GZipStream(Stream, CompressionMode, Boolean) | Initializes a new instance of the System.IO.Compression.GZipStream class using the specified stream and System.IO.Compression.CompressionMode value, and a value that specifies whether to leave the stream open. |
| Name | Description | |
|---|---|---|
| BaseStream | Gets a reference to the underlying stream. | |
| CanRead |
Gets a value indicating whether the stream supports reading while decompressing
a file.
(Overrides StreamCanRead) | |
| CanSeek |
Gets a value indicating whether the stream supports seeking.
(Overrides StreamCanSeek) | |
| CanTimeout |
Gets a value that determines whether the current stream can time out.
(Inherited from Stream) | |
| CanWrite |
Gets a value indicating whether the stream supports writing.
(Overrides StreamCanWrite) | |
| Length |
This property is not supported and always throws a System.NotSupportedException.
(Overrides StreamLength) | |
| Position |
This property is not supported and always throws a System.NotSupportedException.
(Overrides StreamPosition) | |
| ReadTimeout |
Gets or sets a value, in milliseconds, that determines how long the stream
will attempt to read before timing out.
(Inherited from Stream) | |
| WriteTimeout |
Gets or sets a value, in milliseconds, that determines how long the stream
will attempt to write before timing out.
(Inherited from Stream) |
| Name | Description | |
|---|---|---|
| BeginRead |
Begins an asynchronous read operation.
(Inherited from Stream) | |
| BeginWrite |
Begins an asynchronous write operation.
(Inherited from Stream) | |
| Close |
Closes the current stream and releases any resources (such as sockets and
file handles) associated with the current stream.
(Inherited from Stream) | |
| Dispose |
Releases all resources used by the Crestron.SimplSharp.CrestronStream.Stream.
(Inherited from Stream) | |
| Dispose(Boolean) |
Releases the unmanaged resources used by the System.IO.Compression.GZipStream
and optionally releases the managed resources.
(Overrides StreamDispose(Boolean)) | |
| EndRead |
Waits for the pending asynchronous read to complete.
(Inherited from Stream) | |
| EndWrite |
Ends an asynchronous write operation.
(Inherited from Stream) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Destructor for GZipStream.
(Overrides ObjectFinalize) | |
| Flush |
Flushes the contents of the internal buffer of the current System.IO.Compression.GZipStream
object to the underlying stream.
(Overrides StreamFlush) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Read |
Reads a number of decompressed bytes into the specified byte array.
(Overrides StreamRead(Byte, Int32, Int32)) | |
| ReadByte |
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) | |
| Seek |
This property is not supported and always throws a System.NotSupportedException.
(Overrides StreamSeek(Int64, SeekOrigin)) | |
| SetLength |
This property is not supported and always throws a System.NotSupportedException.
(Overrides StreamSetLength(Int64)) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Write |
Writes compressed bytes to the underlying stream from the specified byte
array.
(Overrides StreamWrite(Byte, Int32, Int32)) | |
| WriteByte |
Writes a byte to the current position in the stream and advances the position
within the stream by one byte.
(Inherited from Stream) |