Xceed .NET Libraries Documentation
CompressedStream Class Members
Properties  Methods 


Xceed.Compression Assembly > Xceed.Compression Namespace : CompressedStream Class

The following tables list the members exposed by CompressedStream.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyOverridden. Determines whether the inner stream supports reading AND the compressed stream supports data decompression.  
Public PropertyOverridden. A CompressedStream object is not seekable.  
Public PropertyGets a value that determines whether the current stream can time out. (Inherited from System.IO.Stream)
Public PropertyOverridden. Determines whether the inner stream supports writing AND the compressed stream supports data compression.  
Public Property  
Public Property  
Public PropertyGets the System.IO.Stream that was passed when creating this CompressedStream.  
Public PropertyOverridden. A CompressedStream object is not seekable.  
Public PropertyOverridden. A CompressedStream object is not seekable.  
Public PropertyGets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from System.IO.Stream)
Public PropertyGets the negative byte offset at which the compressed data ends inside the last data buffer read by the object.  
Public PropertyGets or sets a boolean value indicating if the stream is responsible for closing its inner stream.  
Public PropertyGets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from System.IO.Stream)
Top
Public Methods
 NameDescription
Public MethodBegins an asynchronous read operation. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodBegins an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodCloses the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. (Inherited from System.IO.Stream)
Public MethodOverloaded. Reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream)
Public MethodOverloaded. Asynchronously reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream)
Public Methodstatic (Shared in Visual Basic)  
Public Methodstatic (Shared in Visual Basic)  
Public Methodstatic (Shared in Visual Basic)  
Public Methodstatic (Shared in Visual Basic)  
Public Methodstatic (Shared in Visual Basic)  
Public Methodstatic (Shared in Visual Basic)  
Public Methodstatic (Shared in Visual Basic)  
Public MethodCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public Methodstatic (Shared in Visual Basic)  
Public MethodOverloaded. Overridden. Provides correct cleanup of resources in the base class and its derived classes.  
Public MethodWaits for the pending asynchronous read to complete. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodEnds an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
Public MethodOverridden. Causes all pending compressed data to be written to the inner stream, and updates the underlying data source or repository of the inner stream with the current state of the buffer.  
Public MethodOverloaded. Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from System.IO.Stream)
Public MethodRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodOverridden. Reads and decompresses a sequence of bytes from the inner stream.  
Public MethodOverloaded. Asynchronously reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from System.IO.Stream)
Public MethodReads 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 System.IO.Stream)
Public MethodOverridden. A CompressedStream object is not seekable.  
Public MethodOverridden. A CompressedStream object is not seekable.  
Public Methodstatic (Shared in Visual Basic)Prepares PPMd compression using the specified Stream and compression level.  
Public Methodstatic (Shared in Visual Basic)Prepares PPMd decompression using the specified Stream and compression level.  
Public Methodstatic (Shared in Visual Basic)Determines whether a compression format will be used, based on a specified compression method and level.  
Public MethodOverridden. Compresses and writes a sequence of bytes to the inner stream.  
Public MethodOverloaded. Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Inherited from System.IO.Stream)
Public MethodWrites a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from System.IO.Stream)
Top
Protected Methods
 NameDescription
Protected MethodAllocates a System.Threading.WaitHandle object. (Inherited from System.IO.Stream)
Protected MethodAllows the CompressedStream object to attempt to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  
Protected MethodOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodProvides support for a System.Diagnostics.Contracts.Contract. (Inherited from System.IO.Stream)
Top
See Also

Reference

CompressedStream Class
Xceed.Compression Namespace