Encoder and Decoder for ZLIB and DEFLATE (IETF RFC1950 and RFC1951).
Declaration Syntax
C# | Visual Basic | Visual C++ |
public sealed class ZlibCodec
Public NotInheritable Class ZlibCodec
public ref class ZlibCodec sealed
Members
All Members | Constructors | Methods | Properties | Fields | |
|
|
|
Icon | Member | Description |
---|---|---|
ZlibCodec()()()() |
Create a ZlibCodec.
|
|
ZlibCodec(CompressionMode) |
Create a ZlibCodec that either compresses or decompresses.
|
|
Adler32 |
The Adler32 checksum on the data transferred through the codec so far. You probably don't need to look at this.
|
|
AvailableBytesIn |
The number of bytes available in the InputBuffer, starting at NextIn.
|
|
AvailableBytesOut |
The number of bytes available in the OutputBuffer, starting at NextOut.
|
|
CompressLevel |
The compression level to use in this codec. Useful only in compression mode.
|
|
Deflate(FlushType) |
Deflate one batch of data.
|
|
EndDeflate()()()() |
End a deflation session.
|
|
EndInflate()()()() |
Ends an inflation session.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
Inflate(FlushType) |
Inflate the data in the InputBuffer, placing the result in the OutputBuffer.
|
|
InitializeDeflate()()()() |
Initialize the ZlibCodec for deflation operation.
|
|
InitializeDeflate(CompressionLevel) |
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel.
|
|
InitializeDeflate(CompressionLevel, Boolean) |
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel,
and the explicit flag governing whether to emit an RFC1950 header byte pair.
|
|
InitializeDeflate(CompressionLevel, Int32) |
Initialize the ZlibCodec for deflation operation, using the specified CompressionLevel,
and the specified number of window bits.
|
|
InitializeDeflate(CompressionLevel, Int32, Boolean) |
Initialize the ZlibCodec for deflation operation, using the specified
CompressionLevel, the specified number of window bits, and the explicit flag
governing whether to emit an RFC1950 header byte pair.
|
|
InitializeInflate()()()() |
Initialize the inflation state.
|
|
InitializeInflate(Boolean) |
Initialize the inflation state with an explicit flag to
govern the handling of RFC1950 header bytes.
|
|
InitializeInflate(Int32) |
Initialize the ZlibCodec for inflation, with the specified number of window bits.
|
|
InitializeInflate(Int32, Boolean) |
Initialize the inflation state with an explicit flag to govern the handling of
RFC1950 header bytes.
|
|
InputBuffer |
The buffer from which data is taken.
|
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Message |
used for diagnostics, when something goes wrong!
|
|
NextIn |
An index into the InputBuffer array, indicating where to start reading.
|
|
NextOut |
An index into the OutputBuffer array, indicating where to start writing.
|
|
OutputBuffer |
Buffer to store output data.
|
|
ResetDeflate()()()() |
Reset a codec for another deflation session.
|
|
SetDeflateParams(CompressionLevel, CompressionStrategy) |
Set the CompressionStrategy and CompressionLevel for a deflation session.
|
|
SetDictionary(array<Byte>[]()[][]) |
Set the dictionary to be used for either Inflation or Deflation.
|
|
Strategy |
The compression strategy to use.
|
|
SyncInflate()()()() |
I don't know what this does!
|
|
ToString()()()() | (Inherited from Object.) |
|
TotalBytesIn |
Total number of bytes read so far, through all calls to Inflate()/Deflate().
|
|
TotalBytesOut |
Total number of bytes written to the output so far, through all calls to Inflate()/Deflate().
|
|
WindowBits |
The number of Window Bits to use.
|
Remarks
This class compresses and decompresses data according to the Deflate algorithm
and optionally, the ZLIB format, as documented in RFC 1950 - ZLIB and RFC 1951 - DEFLATE.
Inheritance Hierarchy
Object | |
ZlibCodec |