NetWrok.HTTP.Zlib.ZlibCodec.SetDictionary C# (CSharp) Method

SetDictionary() public method

Set the dictionary to be used for either Inflation or Deflation.
public SetDictionary ( byte dictionary ) : int
dictionary byte The dictionary bytes to use.
return int
        public int SetDictionary(byte[] dictionary)
        {
            if (istate != null)
                return istate.SetDictionary(this, dictionary);

            if (dstate != null)
                return dstate.SetDictionary(this, dictionary);

            throw new ZlibException("No Inflate or Deflate state!");
        }