Nevron .NET Vision
Nevron.Compression Namespace / Inflater Class
Members


In This Topic
    Inflater Class
    In This Topic
    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 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 SetInput(), 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 SetInput(). NOTE: IsNeedingInput() also returns true when, the stream is finished.
    • IsNeedingDictionary() returns true, you have to provide a preset dictionary with SetDictionary().
    • 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
    Object Model
    Inflater Class
    Syntax
    'Declaration
     
    
    Public Class Inflater 
    'Usage
     
    
    Dim instance As Inflater
    public class Inflater 
    Inheritance Hierarchy

    System.Object
       Nevron.Compression.Inflater

    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