SetDictionary Method

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

Deflater.SetDictionary Method

Sets the dictionary which should be used in the deflate process. This call is equivalent to

setDictionary(dict, 0, dict.Length)
.

Overload List

Sets the dictionary which should be used in the deflate process. This call is equivalent to

setDictionary(dict, 0, dict.Length)
.

public void SetDictionary(byte[]);

Sets the dictionary which should be used in the deflate process. The dictionary is a byte array containing strings that are likely to occur in the data which should be compressed. The dictionary is not stored in the compressed output, only a checksum. To decompress the output you need to supply the same dictionary again.

public void SetDictionary(byte[],int,int);

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace