PDF for UWP | ComponentOne
C1.C1Zip.ZLib Namespace / ZStream Class / inflateInit Method / inflateInit() Method

In This Topic
    inflateInit() Method
    In This Topic
    Initializes the internal stream state for decompression.
    Syntax
    'Declaration
     
    
    Public Overloads Function inflateInit() As Integer
    public int inflateInit()

    Return Value

    Zero on success, an error code on failure.
    Remarks

    The fields next_in and avail_in must be initialized before by the caller.

    inflateInit does not perform any decompression apart from reading the zlib header if present: data decompression is done by the inflate method. Therefore, the next_in and avail_in may be modified, but next_out and avail_out are unchanged.

    See Also