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 )
This method must be called immediately after a call of inflate if this call returned Z_NEED_DICT. The dictionary chosen by the compressor can be determined from the Adler32 value returned by this call to inflate.
The compressor and decompressor must use exactly the same dictionary (see the deflateSetDictionary method).
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