C1.Xaml.Zip Assembly > C1.C1Zip.ZLib Namespace > ZStream Class : inflateSetDictionary Method |
'Declaration Public Function inflateSetDictionary( _ ByVal dictionary() As System.Byte, _ ByVal dictLength As System.Integer _ ) As System.Integer
public System.int inflateSetDictionary( System.byte[] dictionary, System.int dictLength )
このメソッドは、inflate を呼び出して Z_NEED_DICT が返された場合に、この呼び出しの直後に呼び出す必要があります。圧縮プログラムによって選択される辞書は、この inflate への呼び出しから返された Adler32 値によって決定されます。
圧縮プログラムと圧縮解除プログラムは、まったく同じ辞書を使用する必要があります(deflateSetDictionary メソッドを参照)。