Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.
Inflater is used to decompress data that has been compressed according
to the "deflate" standard described in rfc1951.
By default Zlib (rfc1950) headers and footers are expected in the input.
You can use constructor
CopyC#
public Inflater(bool noHeader)
passing true
if there is no Zlib header information
The usage is as following. First you have to set some input with
CopyC#
, then Inflate() it. If inflate doesn't
inflate any bytes there may be three reasons:
- IsNeedingInput() returns true because the input buffer is empty.
You have to provide more input with
CopyC#
.
NOTE: IsNeedingInput() also returns true when, the stream is finished.
- IsNeedingDictionary() returns true, you have to provide a preset
dictionary with
CopyC#
.
- IsFinished returns true, the inflater has finished.
Once the first output byte is produced, a dictionary will not be
needed at a later stage.
author of the original java version : John Leuner, Jochen Hoenicke
Namespace:
SharedCache.WinServiceCommon.SharpZipLib.Zip.Compression
Assembly:
SharedCache.WinServiceCommon (in SharedCache.WinServiceCommon.dll) Version: 3.0.5.1 (3.0.5.1)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class Inflater |
| Visual C++ |
|---|
public ref class Inflater |
Remarks
Inheritance Hierarchy
System..::.Object SharedCache.WinServiceCommon.SharpZipLib.Zip.Compression..::.Inflater
See Also