'Declaration Public Class PPMdCompressedStream Inherits FormattedCompressedStream Implements System.IDisposable
'Usage Dim instance As PPMdCompressedStream
public class PPMdCompressedStream : FormattedCompressedStream, System.IDisposable
Represents a pass-through stream that reads and writes PPMd formatted compressed data.
'Declaration Public Class PPMdCompressedStream Inherits FormattedCompressedStream Implements System.IDisposable
'Usage Dim instance As PPMdCompressedStream
public class PPMdCompressedStream : FormattedCompressedStream, System.IDisposable
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.
System.Object
System.MarshalByRefObject
System.IO.Stream
Xceed.Compression.Formats.FormattedCompressedStream
Xceed.Compression.Formats.PPMdCompressedStream
Name | Description | |
---|---|---|
![]() | PPMdCompressedStream Constructor | Overloaded. Intializes a new instance of the PPMdCompressedStream class. |
Name | Description | |
---|---|---|
![]() | CanRead | Gets a boolean value indicating whether the current stream supports reading. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | CanSeek | Overridden. |
![]() | CanTimeout | (Inherited from System.IO.Stream) |
![]() | CanWrite | Gets a boolean value indicating whether the current stream supports writing. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | InnerStream | (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | Length | Gets the length, in bytes, of the stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | Position | Gets or sets the position within the current stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | ReadTimeout | (Inherited from System.IO.Stream) |
![]() | Transient | Gets or sets a boolean value indicating if the stream is responsible for closing its inner stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | WriteTimeout | (Inherited from System.IO.Stream) |
Name | Description | |
---|---|---|
![]() | BeginRead | (Inherited from System.IO.Stream) |
![]() | BeginWrite | (Inherited from System.IO.Stream) |
![]() | Close | (Inherited from System.IO.Stream) |
![]() ![]() | Compress | Overloaded. Compresses an array of bytes using the PPMd compression format. |
![]() | CopyTo | Overloaded. (Inherited from System.IO.Stream) |
![]() | CopyToAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | CreateObjRef | (Inherited from System.MarshalByRefObject) |
![]() ![]() | Decompress | Overloaded. Decompresses an array of PPMd formatted compressed bytes. |
![]() | Dispose | Overloaded. Releases all resources used by the FormattedCompressedStream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | EndRead | (Inherited from System.IO.Stream) |
![]() | EndWrite | (Inherited from System.IO.Stream) |
![]() | Flush | Clears all buffers for this stream and causes any buffered data to be written to the underlying compressed stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | FlushAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | GetLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | InitializeLifetimeService | (Inherited from System.MarshalByRefObject) |
![]() | Read | Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | ReadAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | ReadByte | (Inherited from System.IO.Stream) |
![]() | Seek | Sets the position within the current stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | SetLength | Sets the length of the current stream. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | Write | 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 Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | WriteAsync | Overloaded. (Inherited from System.IO.Stream) |
![]() | WriteByte | (Inherited from System.IO.Stream) |
Name | Description | |
---|---|---|
![]() | CreateWaitHandle | (Inherited from System.IO.Stream) |
![]() | Finalize | Allows the FormattedCompressedStream object to attempt to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | MemberwiseClone | Overloaded. (Inherited from System.MarshalByRefObject) |
![]() | ObjectInvariant | (Inherited from System.IO.Stream) |
![]() | ReadFooter | Overridden. This method is reserved for internal use and is not intended to be used directly from your code. |
![]() | ReadHeader | Overridden. This method is reserved for internal use and is not intended to be used directly from your code. |
![]() | Reset | (Inherited from Xceed.Compression.Formats.FormattedCompressedStream) |
![]() | WriteFooter | Overridden. This method is reserved for internal use and is not intended to be used directly from your code. |
![]() | WriteHeader | Overridden. This method is reserved for internal use and is not intended to be used directly from your code. |
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
PPMdCompressedStream Members
Xceed.Compression.Formats Namespace
{916E7D43-79A0-4455-99D2-BC570DE4F2F3}