Package com.jcraft.jzlib
Class ZStream
java.lang.Object
com.jcraft.jzlib.ZStream
Deprecated.
Not for public use in the future.
ZStream
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ChecksumDeprecated.intDeprecated.intDeprecated.(package private) intDeprecated.private static final intDeprecated.(package private) DeflateDeprecated.(package private) InflateDeprecated.private static final intDeprecated.private static final intDeprecated.Deprecated.byte[]Deprecated.intDeprecated.byte[]Deprecated.intDeprecated.longDeprecated.longDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated.private static final intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdeflate(int flush) Deprecated.intDeprecated.intdeflateInit(int level) Deprecated.intdeflateInit(int level, boolean nowrap) Deprecated.intdeflateInit(int level, int bits) Deprecated.intdeflateInit(int level, int bits, boolean nowrap) Deprecated.intdeflateInit(int level, int bits, int memlevel) Deprecated.intdeflateInit(int level, int bits, int memlevel, JZlib.WrapperType wrapperType) Deprecated.intdeflateParams(int level, int strategy) Deprecated.intdeflateSetDictionary(byte[] dictionary, int dictLength) Deprecated.intend()Deprecated.Those methods are expected to be override by Inflater and Deflater.booleanfinished()Deprecated.(package private) voidDeprecated.voidfree()Deprecated.longgetAdler()Deprecated.intDeprecated.intDeprecated.Deprecated.byte[]Deprecated.intDeprecated.byte[]Deprecated.intDeprecated.longDeprecated.longDeprecated.intinflate(int f) Deprecated.intDeprecated.booleanDeprecated.intDeprecated.intinflateInit(boolean nowrap) Deprecated.intinflateInit(int w) Deprecated.intinflateInit(int w, boolean nowrap) Deprecated.intinflateInit(int w, JZlib.WrapperType wrapperType) Deprecated.intinflateInit(JZlib.WrapperType wrapperType) Deprecated.intinflateSetDictionary(byte[] dictionary, int dictLength) Deprecated.intDeprecated.intDeprecated.(package private) intread_buf(byte[] buf, int start, int size) Deprecated.voidsetAvailIn(int avail_in) Deprecated.voidsetAvailOut(int avail_out) Deprecated.voidsetInput(byte[] buf) Deprecated.voidsetInput(byte[] buf, boolean append) Deprecated.voidsetInput(byte[] buf, int off, int len, boolean append) Deprecated.voidsetNextIn(byte[] next_in) Deprecated.voidsetNextInIndex(int next_in_index) Deprecated.voidsetNextOut(byte[] next_out) Deprecated.voidsetNextOutIndex(int next_out_index) Deprecated.voidsetOutput(byte[] buf) Deprecated.voidsetOutput(byte[] buf, int off, int len) Deprecated.
-
Field Details
-
MAX_WBITS
private static final int MAX_WBITSDeprecated.- See Also:
-
DEF_WBITS
private static final int DEF_WBITSDeprecated.- See Also:
-
Z_NO_FLUSH
private static final int Z_NO_FLUSHDeprecated.- See Also:
-
Z_PARTIAL_FLUSH
private static final int Z_PARTIAL_FLUSHDeprecated.- See Also:
-
Z_SYNC_FLUSH
private static final int Z_SYNC_FLUSHDeprecated.- See Also:
-
Z_FULL_FLUSH
private static final int Z_FULL_FLUSHDeprecated.- See Also:
-
Z_FINISH
private static final int Z_FINISHDeprecated.- See Also:
-
MAX_MEM_LEVEL
private static final int MAX_MEM_LEVELDeprecated.- See Also:
-
Z_OK
private static final int Z_OKDeprecated.- See Also:
-
Z_STREAM_END
private static final int Z_STREAM_ENDDeprecated.- See Also:
-
Z_NEED_DICT
private static final int Z_NEED_DICTDeprecated.- See Also:
-
Z_ERRNO
private static final int Z_ERRNODeprecated.- See Also:
-
Z_STREAM_ERROR
private static final int Z_STREAM_ERRORDeprecated.- See Also:
-
Z_DATA_ERROR
private static final int Z_DATA_ERRORDeprecated.- See Also:
-
Z_MEM_ERROR
private static final int Z_MEM_ERRORDeprecated.- See Also:
-
Z_BUF_ERROR
private static final int Z_BUF_ERRORDeprecated.- See Also:
-
Z_VERSION_ERROR
private static final int Z_VERSION_ERRORDeprecated.- See Also:
-
next_in
public byte[] next_inDeprecated. -
next_in_index
public int next_in_indexDeprecated. -
avail_in
public int avail_inDeprecated. -
total_in
public long total_inDeprecated. -
next_out
public byte[] next_outDeprecated. -
next_out_index
public int next_out_indexDeprecated. -
avail_out
public int avail_outDeprecated. -
total_out
public long total_outDeprecated. -
msg
Deprecated. -
dstate
Deflate dstateDeprecated. -
istate
Inflate istateDeprecated. -
data_type
int data_typeDeprecated. -
adler
Checksum adlerDeprecated.
-
-
Constructor Details
-
ZStream
public ZStream()Deprecated. -
ZStream
Deprecated.
-
-
Method Details
-
inflateInit
public int inflateInit()Deprecated. -
inflateInit
public int inflateInit(boolean nowrap) Deprecated. -
inflateInit
public int inflateInit(int w) Deprecated. -
inflateInit
Deprecated. -
inflateInit
Deprecated. -
inflateInit
public int inflateInit(int w, boolean nowrap) Deprecated. -
inflate
public int inflate(int f) Deprecated. -
inflateEnd
public int inflateEnd()Deprecated. -
inflateSync
public int inflateSync()Deprecated. -
inflateSyncPoint
public int inflateSyncPoint()Deprecated. -
inflateSetDictionary
public int inflateSetDictionary(byte[] dictionary, int dictLength) Deprecated. -
inflateFinished
public boolean inflateFinished()Deprecated. -
deflateInit
public int deflateInit(int level) Deprecated. -
deflateInit
public int deflateInit(int level, boolean nowrap) Deprecated. -
deflateInit
public int deflateInit(int level, int bits) Deprecated. -
deflateInit
Deprecated. -
deflateInit
public int deflateInit(int level, int bits, int memlevel) Deprecated. -
deflateInit
public int deflateInit(int level, int bits, boolean nowrap) Deprecated. -
deflate
public int deflate(int flush) Deprecated. -
deflateEnd
public int deflateEnd()Deprecated. -
deflateParams
public int deflateParams(int level, int strategy) Deprecated. -
deflateSetDictionary
public int deflateSetDictionary(byte[] dictionary, int dictLength) Deprecated. -
flush_pending
void flush_pending()Deprecated. -
read_buf
int read_buf(byte[] buf, int start, int size) Deprecated. -
getAdler
public long getAdler()Deprecated. -
free
public void free()Deprecated. -
setOutput
public void setOutput(byte[] buf) Deprecated. -
setOutput
public void setOutput(byte[] buf, int off, int len) Deprecated. -
setInput
public void setInput(byte[] buf) Deprecated. -
setInput
public void setInput(byte[] buf, boolean append) Deprecated. -
setInput
public void setInput(byte[] buf, int off, int len, boolean append) Deprecated. -
getNextIn
public byte[] getNextIn()Deprecated. -
setNextIn
public void setNextIn(byte[] next_in) Deprecated. -
getNextInIndex
public int getNextInIndex()Deprecated. -
setNextInIndex
public void setNextInIndex(int next_in_index) Deprecated. -
getAvailIn
public int getAvailIn()Deprecated. -
setAvailIn
public void setAvailIn(int avail_in) Deprecated. -
getNextOut
public byte[] getNextOut()Deprecated. -
setNextOut
public void setNextOut(byte[] next_out) Deprecated. -
getNextOutIndex
public int getNextOutIndex()Deprecated. -
setNextOutIndex
public void setNextOutIndex(int next_out_index) Deprecated. -
getAvailOut
public int getAvailOut()Deprecated. -
setAvailOut
public void setAvailOut(int avail_out) Deprecated. -
getTotalOut
public long getTotalOut()Deprecated. -
getTotalIn
public long getTotalIn()Deprecated. -
getMessage
Deprecated. -
end
public int end()Deprecated.Those methods are expected to be override by Inflater and Deflater. In the future, they will become abstract methods.- Returns:
- an error code
-
finished
public boolean finished()Deprecated.
-