java.lang.Object
swim.codec.Decoder<O>
swim.deflate.Inflate<O>
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
static final int
int
boolean
byte[]
int
byte[]
int
long
long
int
byte[]
int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
feed
(InputBuffer input) Incrementally decodes as muchinput
buffer data as possible, and returns anotherDecoder
that represents the continuation of how to decode additional buffer data.flush
(int flush) boolean
inflate
(int flush) protected void
inflateInit
(int wrap, int windowBits) void
void
inflateReset
(int wrap, int windowBits) void
void
-
Field Details
-
output
-
is_last
public boolean is_last -
flush
public int flush -
next_in
public byte[] next_in -
next_in_index
public int next_in_index -
avail_in
public int avail_in -
total_in
public long total_in -
next_out
public byte[] next_out -
next_out_index
public int next_out_index -
avail_out
public int avail_out -
total_out
public long total_out -
whave
public int whave -
wnext
public int wnext -
window
public byte[] window -
window_buffer
-
Z_NO_FLUSH
public static final int Z_NO_FLUSH- See Also:
-
Z_PARTIAL_FLUSH
public static final int Z_PARTIAL_FLUSH- See Also:
-
Z_SYNC_FLUSH
public static final int Z_SYNC_FLUSH- See Also:
-
Z_FULL_FLUSH
public static final int Z_FULL_FLUSH- See Also:
-
Z_FINISH
public static final int Z_FINISH- See Also:
-
Z_BLOCK
public static final int Z_BLOCK- See Also:
-
Z_TREES
public static final int Z_TREES- See Also:
-
Z_OK
public static final int Z_OK- See Also:
-
Z_STREAM_END
public static final int Z_STREAM_END- See Also:
-
Z_NEED_DICT
public static final int Z_NEED_DICT- See Also:
-
Z_ERRNO
public static final int Z_ERRNO- See Also:
-
Z_STREAM_ERROR
public static final int Z_STREAM_ERROR- See Also:
-
Z_DATA_ERROR
public static final int Z_DATA_ERROR- See Also:
-
Z_MEM_ERROR
public static final int Z_MEM_ERROR- See Also:
-
Z_BUF_ERROR
public static final int Z_BUF_ERROR- See Also:
-
Z_VERSION_ERROR
public static final int Z_VERSION_ERROR- See Also:
-
Z_NO_WRAP
public static final int Z_NO_WRAP- See Also:
-
Z_WRAP_ZLIB
public static final int Z_WRAP_ZLIB- See Also:
-
Z_WRAP_GZIP
public static final int Z_WRAP_GZIP- See Also:
-
DEF_WBITS
public static final int DEF_WBITS- See Also:
-
-
Constructor Details
-
Inflate
-
Inflate
-
Inflate
-
Inflate
public Inflate(int wrap, int windowBits) -
Inflate
public Inflate(int wrap) -
Inflate
public Inflate()
-
-
Method Details
-
inflateResetKeep
public void inflateResetKeep() -
inflateReset
public void inflateReset() -
inflateReset
public void inflateReset(int wrap, int windowBits) -
inflateInit
protected void inflateInit(int wrap, int windowBits) -
initWindow
public void initWindow() -
clone
-
flush
-
feed
Description copied from class:Decoder
Incrementally decodes as muchinput
buffer data as possible, and returns anotherDecoder
that represents the continuation of how to decode additional buffer data. IfisLast
istrue
, thenfeed
must return a terminatedDecoder
, i.e. aDecoder
in the done state, or in the error state. The giveninput
buffer is only guaranteed to be valid for the duration of the method call; references toinput
must not be stored. -
inflate
public boolean inflate(int flush)
-