Xceed .NET Libraries Documentation
CompressedStream Class Methods


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

For a list of all members of this type, see CompressedStream members.

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