Xceed .NET Libraries Documentation
Xceed.Compression.Formats Assembly / Xceed.Compression.Formats Namespace / PPMdCompressedStream Class
Members


In This Topic
    PPMdCompressedStream Class
    In This Topic

    Represents a pass-through stream that reads and writes PPMd formatted compressed data.

    Syntax
    'Declaration
     
    Public Class PPMdCompressedStream 
       Inherits FormattedCompressedStream
       Implements System.IDisposable 
    'Usage
     
    Dim instance As PPMdCompressedStream
    public class PPMdCompressedStream : FormattedCompressedStream, System.IDisposable  
    Remarks
    Compression is applied to data being written to the stream, and decompression is performed when data is read from the stream.

    If the PPMdCompressedStream is being used to write compressed data to the inner stream, the Normal compression level will be used.

    By default, closing the PPMdCompressedStream will also close the inner stream. This behavior can be modified by setting the FormattedCompressedStream.Transient property to true

    To make sure that the header and footer are written, you can call Write with 0 bytes. If neither Write nor Read has been called, the PPMdCompressedStream does not know if it is reading or writing.

    Example
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.IO.Stream
             Xceed.Compression.Formats.FormattedCompressedStream
                Xceed.Compression.Formats.PPMdCompressedStream

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also