- java.lang.Object
-
- swim.codec.Decoder<O>
-
- swim.deflate.Inflate<O>
-
-
Field Summary
Fields Modifier and Type Field Description intavail_inintavail_outstatic intDEF_WBITSintflushbooleanis_lastbyte[]next_inintnext_in_indexbyte[]next_outintnext_out_indexswim.codec.Decoder<O>outputlongtotal_inlongtotal_outintwhavebyte[]windowswim.codec.InputBufferwindow_bufferintwnextstatic intZ_BLOCKstatic intZ_BUF_ERRORstatic intZ_DATA_ERRORstatic intZ_ERRNOstatic intZ_FINISHstatic intZ_FULL_FLUSHstatic intZ_MEM_ERRORstatic intZ_NEED_DICTstatic intZ_NO_FLUSHstatic intZ_NO_WRAPstatic intZ_OKstatic intZ_PARTIAL_FLUSHstatic intZ_STREAM_ENDstatic intZ_STREAM_ERRORstatic intZ_SYNC_FLUSHstatic intZ_TREESstatic intZ_VERSION_ERRORstatic intZ_WRAP_GZIPstatic intZ_WRAP_ZLIB
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Inflate<O>clone()swim.codec.Decoder<O>feed(swim.codec.InputBuffer input)Inflate<O>flush(int flush)booleaninflate(int flush)protected voidinflateInit(int wrap, int windowBits)voidinflateReset()voidinflateReset(int wrap, int windowBits)voidinflateResetKeep()voidinitWindow()
-
-
-
Field Detail
-
output
public swim.codec.Decoder<O> 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
public swim.codec.InputBuffer window_buffer
-
Z_NO_FLUSH
public static final int Z_NO_FLUSH
- See Also:
- Constant Field Values
-
Z_PARTIAL_FLUSH
public static final int Z_PARTIAL_FLUSH
- See Also:
- Constant Field Values
-
Z_SYNC_FLUSH
public static final int Z_SYNC_FLUSH
- See Also:
- Constant Field Values
-
Z_FULL_FLUSH
public static final int Z_FULL_FLUSH
- See Also:
- Constant Field Values
-
Z_FINISH
public static final int Z_FINISH
- See Also:
- Constant Field Values
-
Z_BLOCK
public static final int Z_BLOCK
- See Also:
- Constant Field Values
-
Z_TREES
public static final int Z_TREES
- See Also:
- Constant Field Values
-
Z_OK
public static final int Z_OK
- See Also:
- Constant Field Values
-
Z_STREAM_END
public static final int Z_STREAM_END
- See Also:
- Constant Field Values
-
Z_NEED_DICT
public static final int Z_NEED_DICT
- See Also:
- Constant Field Values
-
Z_ERRNO
public static final int Z_ERRNO
- See Also:
- Constant Field Values
-
Z_STREAM_ERROR
public static final int Z_STREAM_ERROR
- See Also:
- Constant Field Values
-
Z_DATA_ERROR
public static final int Z_DATA_ERROR
- See Also:
- Constant Field Values
-
Z_MEM_ERROR
public static final int Z_MEM_ERROR
- See Also:
- Constant Field Values
-
Z_BUF_ERROR
public static final int Z_BUF_ERROR
- See Also:
- Constant Field Values
-
Z_VERSION_ERROR
public static final int Z_VERSION_ERROR
- See Also:
- Constant Field Values
-
Z_NO_WRAP
public static final int Z_NO_WRAP
- See Also:
- Constant Field Values
-
Z_WRAP_ZLIB
public static final int Z_WRAP_ZLIB
- See Also:
- Constant Field Values
-
Z_WRAP_GZIP
public static final int Z_WRAP_GZIP
- See Also:
- Constant Field Values
-
DEF_WBITS
public static final int DEF_WBITS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Inflate
public Inflate(swim.codec.Decoder<O> output, int wrap, int windowBits)
-
Inflate
public Inflate(swim.codec.Decoder<O> output, int wrap)
-
Inflate
public Inflate(swim.codec.Decoder<O> output)
-
Inflate
public Inflate(int wrap, int windowBits)
-
Inflate
public Inflate(int wrap)
-
Inflate
public Inflate()
-
-
Method Detail
-
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()
-
feed
public swim.codec.Decoder<O> feed(swim.codec.InputBuffer input)
- Specified by:
feedin classswim.codec.Decoder<O>
-
inflate
public boolean inflate(int flush)
-
-