Export (0) Print
Expand All

DeflateStream Members

Provides methods and properties for compressing and decompressing streams using the Deflate algorithm.

The following tables list the members exposed by the DeflateStream type.

  Name Description
Public method DeflateStream Overloaded. Initializes a new instance of the DeflateStream class.
Top

  Name Description
Public property BaseStream Gets a reference to the underlying stream.
Public property CanRead Overridden. Gets a value indicating whether the stream supports reading while decompressing a file.
Public property CanSeek Overridden. Gets a value indicating whether the stream supports seeking.
Public property CanTimeout  Gets a value that determines whether the current stream can time out.(inherited from Stream)
Public property CanWrite Overridden. Gets a value indicating whether the stream supports writing.
Public property Length Overridden. This property is not supported and always throws a NotSupportedException.
Public property Position Overridden. This property is not supported and always throws a NotSupportedException.
Public property ReadTimeout  Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (inherited from Stream)
Public property WriteTimeout  Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (inherited from Stream)
Top

(see also Protected Methods )
  Name Description
Public method BeginRead Overridden. Begins an asynchronous read operation.
Public method BeginWrite Overridden. Begins an asynchronous write operation.
Public method Close  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (inherited from Stream)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method Dispose Overloaded.  
Public method EndRead Overridden. Waits for the pending asynchronous read to complete.
Public method EndWrite Overridden. Ends an asynchronous write operation.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Flush Overridden. Flushes the contents of the internal buffer of the current stream object to the underlying stream.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Read Overridden. Reads a number of decompressed bytes into the specified byte array.
Public method 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)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Seek Overridden. This operation is not supported and always throws a NotSupportedException.
Public method SetLength Overridden. This operation is not supported and always throws a NotSupportedException.
Public method Static Synchronized  Creates a thread-safe (synchronized) wrapper around the specified Stream object. (inherited from Stream)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Write Overridden. Writes compressed bytes to the underlying stream from the specified byte array.
Public method WriteByte  Writes a byte to the current position in the stream and advances the position within the stream by one byte. (inherited from Stream)
Top

  Name Description
Protected method CreateWaitHandle  Allocates a WaitHandle object. (inherited from Stream)
Protected method Dispose Overloaded. Overridden.  
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

Community Additions

ADD
Show:
© 2014 Microsoft