Deflater.SetDictionary Method (Byte[])

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

Deflater.SetDictionary Method (Byte[])

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[] dictionary
);

Parameters

dictionary
the dictionary.

Exceptions

Exception Type Condition
InvalidOperationException if SetInput () or Deflate () were already called or another dictionary was already set.

See Also

Deflater Class | ICSharpCode.SharpZipLib.Zip.Compression Namespace | Deflater.SetDictionary Overload List