Zip for WPF and Silverlight
C1.C1Zip.ZLib Namespace / ZStream Class / inflateSetDictionary Method
辞書のデータ。
辞書のバイト数。

In This Topic
    inflateSetDictionary Method (ZStream)
    In This Topic
    指定された非圧縮バイトシーケンスから圧縮解除辞書を初期化します。
    Syntax
    'Declaration
     
    
    Public Function inflateSetDictionary( _
       ByVal dictionary() As Byte, _
       ByVal dictLength As Integer _
    ) As Integer
    public int inflateSetDictionary( 
       byte[] dictionary,
       int dictLength
    )

    Parameters

    dictionary
    辞書のデータ。
    dictLength
    辞書のバイト数。

    Return Value

    成功した場合は0、失敗した場合はエラーコード。
    Remarks

    このメソッドは、inflate を呼び出して Z_NEED_DICT が返された場合に、この呼び出しの直後に呼び出す必要があります。圧縮プログラムによって選択される辞書は、この inflate への呼び出しから返された Adler32 値によって決定されます。

    圧縮プログラムと圧縮解除プログラムは、まったく同じ辞書を使用する必要があります(deflateSetDictionary メソッドを参照)。

    See Also