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) Checksum
Deprecated.int
Deprecated.int
Deprecated.(package private) int
Deprecated.private static final int
Deprecated.(package private) Deflate
Deprecated.(package private) Inflate
Deprecated.private static final int
Deprecated.private static final int
Deprecated.Deprecated.byte[]
Deprecated.int
Deprecated.byte[]
Deprecated.int
Deprecated.long
Deprecated.long
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated.private static final int
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
deflate
(int flush) Deprecated.int
Deprecated.int
deflateInit
(int level) Deprecated.int
deflateInit
(int level, boolean nowrap) Deprecated.int
deflateInit
(int level, int bits) Deprecated.int
deflateInit
(int level, int bits, boolean nowrap) Deprecated.int
deflateInit
(int level, int bits, int memlevel) Deprecated.int
deflateInit
(int level, int bits, int memlevel, JZlib.WrapperType wrapperType) Deprecated.int
deflateParams
(int level, int strategy) Deprecated.int
deflateSetDictionary
(byte[] dictionary, int dictLength) Deprecated.int
end()
Deprecated.Those methods are expected to be override by Inflater and Deflater.boolean
finished()
Deprecated.(package private) void
Deprecated.void
free()
Deprecated.long
getAdler()
Deprecated.int
Deprecated.int
Deprecated.Deprecated.byte[]
Deprecated.int
Deprecated.byte[]
Deprecated.int
Deprecated.long
Deprecated.long
Deprecated.int
inflate
(int f) Deprecated.int
Deprecated.boolean
Deprecated.int
Deprecated.int
inflateInit
(boolean nowrap) Deprecated.int
inflateInit
(int w) Deprecated.int
inflateInit
(int w, boolean nowrap) Deprecated.int
inflateInit
(int w, JZlib.WrapperType wrapperType) Deprecated.int
inflateInit
(JZlib.WrapperType wrapperType) Deprecated.int
inflateSetDictionary
(byte[] dictionary, int dictLength) Deprecated.int
Deprecated.int
Deprecated.(package private) int
read_buf
(byte[] buf, int start, int size) Deprecated.void
setAvailIn
(int avail_in) Deprecated.void
setAvailOut
(int avail_out) Deprecated.void
setInput
(byte[] buf) Deprecated.void
setInput
(byte[] buf, boolean append) Deprecated.void
setInput
(byte[] buf, int off, int len, boolean append) Deprecated.void
setNextIn
(byte[] next_in) Deprecated.void
setNextInIndex
(int next_in_index) Deprecated.void
setNextOut
(byte[] next_out) Deprecated.void
setNextOutIndex
(int next_out_index) Deprecated.void
setOutput
(byte[] buf) Deprecated.void
setOutput
(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.
-