Nevron Open Vision Documentation
Nevron.Nov.Compression Namespace / NCompression Class / DecompressZlib Method / DecompressZlib(Stream,Stream) Method
The stream to decompress.
The stream to write the decompressed data to.


In This Topic
    DecompressZlib(Stream,Stream) Method
    In This Topic
    Decompresses the given input stream with the zlib algorithm to the specified output stream. This method automatically detects whether the given zlib compressed input stream has a header or not and decompresses it accordingly.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub DecompressZlib( _
       ByVal input As System.IO.Stream, _
       ByVal output As System.IO.Stream _
    ) 
    'Usage
     
    
    Dim input As System.IO.Stream
    Dim output As System.IO.Stream
     
    NCompression.DecompressZlib(input, output)
    public static void DecompressZlib( 
       System.IO.Stream input,
       System.IO.Stream output
    )

    Parameters

    input
    The stream to decompress.
    output
    The stream to write the decompressed data to.
    Remarks
    The zlib algorithm is an abstraction of the deflate algorithm used by the gzip compression and has become very popular because of its great performance. It is used in many file formats such as ZIP, PNG, PDF, flash movies (SWF), etc. and is a crucial part of many platforms like Linux, Mac OS X, iOS, XBox, Playstation, Wii and so on.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also