Filter for deflate algorithm without any header or trailer. Filter mode is not currently supported.
Наследование: ZlibFilter
Пример #1
0
        public bool GetImplementedFilter(string name, bool instantiate, out PhpFilter instance, object parameters)
        {
            instance = null;

            switch (name)
            {
                case "zlib.deflate":
                    if (instantiate) instance = new DeflateFilter(-1, DeflateFilterMode.Normal);
                    return true;
                case "zlib.inflate":
                    if (instantiate) instance = new InflateFilter();
                    return true;
            }

            return false;
        }