NevronOpenVision
Nevron.Nov.Compression Namespace / NCompression Class / DecompressZlib Method / DecompressZlib(Stream,Stream,Boolean) Method
The stream to decompress.
The stream to write the decompressed data to.
Specifies whether the compressed input stream has header and footer or not.
In This Topic
    DecompressZlib(Stream,Stream,Boolean) Method
    In This Topic
    Decompresses the given input stream with the zlib algorithm to the specified output stream.
    Syntax
    public static void DecompressZlib( 
       System.IO.Stream input,
       System.IO.Stream output,
       System.bool hasHeader
    )

    Parameters

    input
    The stream to decompress.
    output
    The stream to write the decompressed data to.
    hasHeader
    Specifies whether the compressed input stream has header and footer or not.
    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