ComponentOne Zip for UWP
deflateSetDictionary Method

C1.UWP.Zip Assembly > C1.C1Zip.ZLib Namespace > ZStream Class : deflateSetDictionary Method
Data in the dictionary.
Number of bytes in the dictionary.
Initializes the compression dictionary from the given byte sequence without producing any compressed output.
Syntax
'Declaration
 
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
)

Parameters

dictionary
Data in the dictionary.
dictLength
Number of bytes in the dictionary.

Return Value

Zero on success, an error code on failure.
Remarks

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).

See Also

Reference

ZStream Class
ZStream Members