JavaScript is disabled on your browser.
Skip navigation links
io.netty.handler.codec.compression

Class JZlibDecoder

    • Constructor Detail

      • JZlibDecoder

        public JZlibDecoder(ZlibWrapper wrapper)
        Creates a new instance with the specified wrapper.
        Throws:
        DecompressionException - if failed to initialize zlib
      • JZlibDecoder

        public JZlibDecoder(byte[] dictionary)
        Creates a new instance with the specified preset dictionary. The wrapper is always ZlibWrapper.ZLIB because it is the only format that supports the preset dictionary.
        Throws:
        DecompressionException - if failed to initialize zlib
    • Method Detail

      • isClosed

        public boolean isClosed()
        Returns true if and only if the end of the compressed stream has been reached.
        Specified by:
        isClosed in class ZlibDecoder
Skip navigation links

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /