Example usage for Java java.util.zip Inflater fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | finished |
Inflater() Creates a new decompressor. | |
Inflater(boolean nowrap) Creates a new decompressor. |
void | end() Closes the decompressor and discards any unprocessed input. |
int | getRemaining() Returns the total number of bytes remaining in the input buffer. |
int | inflate(byte[] output) Uncompresses bytes into specified buffer. |
int | inflate(ByteBuffer output) Uncompresses bytes into specified buffer. |
int | inflate(byte[] output, int off, int len) Uncompresses bytes into specified buffer. |
boolean | needsDictionary() Returns true if a preset dictionary is needed for decompression. |
boolean | needsInput() Returns true if no data remains in the input buffer. |
void | reset() Resets inflater so that a new set of input data can be processed. |
void | setDictionary(byte[] dictionary) Sets the preset dictionary to the given array of bytes. |
void | setDictionary(ByteBuffer dictionary) Sets the preset dictionary to the bytes in the given buffer. |
void | setInput(byte[] input) Sets input data for decompression. |
void | setInput(ByteBuffer input) Sets input data for decompression. |
void | setInput(byte[] input, int off, int len) Sets input data for decompression. |