Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
public final class Deflater
Constructors
Methods
Inherited fields
From ZStream
nextIn, nextInIndex, availIn, totalIn, nextOut, nextOutIndex, availOut, totalOut, msg
Inherited methods
From ZStream
inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflateInit, inflate, inflateEnd, inflateSync, inflateSyncPoint, inflateSetDictionary, inflateFinished, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateInit, deflateEnd, deflateParams, deflateSetDictionary, getAdler, free, setOutput, setOutput, setInput, setInput, setInput, getNextIn, setNextIn, getNextInIndex, setNextInIndex, getAvailIn, setAvailIn, getNextOut, setNextOut, getNextOutIndex, setNextOutIndex, getAvailOut, setAvailOut, getTotalOut, getTotalIn, getMessage
Constructor details
Deflater
public Deflater()Deflater
public Deflater(int level)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, boolean nowrap)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits, boolean nowrap)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)
throws GZIPExceptionThrows
Deflater
public Deflater(int level, int bits, int memlevel)
throws GZIPExceptionThrows
Method details
init
public int init(int level)init
public int init(int level, boolean nowrap)init
public int init(int level, int bits)init
public int init(int level, int bits, int memlevel, JZlib.WrapperType wrapperType)init
public int init(int level, int bits, int memlevel)init
public int init(int level, int bits, boolean nowrap)deflate
public int deflate(int flush)end
public int end()params
public int params(int level, int strategy)setDictionary
public int setDictionary(byte[] dictionary, int dictLength)finished
public boolean finished()copy
public int copy(Deflater src)