Zip for UWP/WinRT
inflateSetDictionary メソッド

辞書のデータ。
辞書のバイト数。
指定された非圧縮バイトシーケンスから圧縮解除辞書を初期化します。
構文
'宣言
 
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
)

パラメータ

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

戻り値の型

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

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

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

ZStream クラス
ZStream メンバ

Send Feedback