Zip for WPF/Silverlight
deflateSetDictionary メソッド (ZStream)

C1.WPF.Zip.4.5.2 アセンブリ > C1.C1Zip.ZLib 名前空間 > ZStream クラス : deflateSetDictionary メソッド
辞書のデータ。
辞書のバイト数。
圧縮出力を生成せずに、指定されたバイトシーケンスから圧縮辞書を初期化します。
シンタックス
'宣言
 
Public Function deflateSetDictionary( _
   ByVal dictionary() As System.Byte, _
   ByVal dictLength As System.Integer _
) As System.Integer
public System.int deflateSetDictionary( 
   System.byte[] dictionary,
   System.int dictLength
)

パラメータ

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

戻り値の型

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

このメソッドは、 deflateInit(Int32)の直後、つまり deflateを呼び出す前に呼び出す必要があります。

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

参照

ZStream クラス
ZStream メンバ