The CompressionStream type exposes the following members.

Constructors

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkBeginRead
Begins an asynchronous read operation.
(Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkBeginWrite
Begins an asynchronous write operation.
(Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkClose
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
(Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkCopyTo(Stream) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkCopyTo(Stream, Int32) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkCopyToAsync(Stream) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkCopyToAsync(Stream, Int32) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkCopyToAsync(Stream, Int32, CancellationToken) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkCreateWaitHandle Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkDispose()()()()
Releases all resources used by the Stream.
(Inherited from Stream.)
Protected methodSupported by the .NET Compact FrameworkDispose(Boolean)
Closes the underlying stream.
(Overrides Stream..::..Dispose(Boolean).)
Public methodSupported by the .NET Compact FrameworkEndRead
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkEndWrite
Ends an asynchronous write operation.
(Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkFlush
Causes any buffered data to be written to the underlying stream.
(Overrides Stream..::..Flush()()()().)
Public methodSupported by the .NET Compact FrameworkFlushAsync()()()() (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkFlushAsync(CancellationToken) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkObjectInvariant Obsolete. (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkRead
Reads data from the underlying stream, compressing them during the process.
(Overrides Stream..::..Read(array<Byte>[]()[][], Int32, Int32).)
Public methodSupported by the .NET Compact FrameworkReadAsync(array<Byte>[]()[][], Int32, Int32) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkReadAsync(array<Byte>[]()[][], Int32, Int32, CancellationToken) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkReadByte
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 methodSupported by the .NET Compact FrameworkSeek
This method is not supported by the CompressionStream class.
(Overrides Stream..::..Seek(Int64, SeekOrigin).)
Public methodSupported by the .NET Compact FrameworkSetLength
This method is not supported by the CompressionStream class.
(Overrides Stream..::..SetLength(Int64).)
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkWrite
Writes a sequence of bytes into the current stream. The sequence will be compressed and the result written into the underlying stream.
(Overrides Stream..::..Write(array<Byte>[]()[][], Int32, Int32).)
Public methodSupported by the .NET Compact FrameworkWriteAsync(array<Byte>[]()[][], Int32, Int32) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkWriteAsync(array<Byte>[]()[][], Int32, Int32, CancellationToken) (Inherited from Stream.)
Public methodSupported by the .NET Compact FrameworkWriteByte
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Inherited from Stream.)

Fields

  NameDescription
Public fieldStatic memberSupported by the .NET Compact FrameworkDefaultCompressionLevel
The default compression level.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkCanRead
Gets a value indicating whether the current stream supports reading.
(Overrides Stream..::..CanRead.)
Public propertySupported by the .NET Compact FrameworkCanSeek
Gets a value indicating whether the current stream supports seeking.
(Overrides Stream..::..CanSeek.)
Public propertySupported by the .NET Compact FrameworkCanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.)
Public propertySupported by the .NET Compact FrameworkCanWrite
Gets a value indicating whether the current stream supports writing.
(Overrides Stream..::..CanWrite.)
Public propertySupported by the .NET Compact FrameworkLength
This property is not supported by the CompressionStream class.
(Overrides Stream..::..Length.)
Public propertySupported by the .NET Compact FrameworkPosition
This property is not supported by the CompressionStream class.
(Overrides Stream..::..Position.)
Public propertySupported by the .NET Compact FrameworkReadTimeout
Gets or sets a value that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.)
Public propertySupported by the .NET Compact FrameworkWriteTimeout
Gets or sets a value that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)

See Also