| C1.C1Zip.4 Assembly > C1.C1Zip.ZLib Namespace > ZStream Class : deflateSetDictionary Method |
Public Function deflateSetDictionary( _ ByVal dictionary() As Byte, _ ByVal dictLength As Integer _ ) As Integer
Dim instance As ZStream Dim dictionary() As Byte Dim dictLength As Integer Dim value As Integer value = instance.deflateSetDictionary(dictionary, dictLength)
public int deflateSetDictionary( byte[] dictionary, int dictLength )
public: int deflateSetDictionary( array<byte>^ dictionary, int dictLength )
This method must be called immediately after deflateInit(Int32), before any call to deflate.
The compressor and decompressor must use exactly the same dictionary (see inflateSetDictionary).
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