public class DeflateDecoder extends java.lang.Object implements ImageDecoder
Constructor and Description |
---|
DeflateDecoder() |
DeflateDecoder(byte[] input) |
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] pixels,
int start,
int len) |
void |
setInput(byte[] input) |
void |
setInput(byte[] input,
int start,
int len) |
public DeflateDecoder(byte[] input)
public DeflateDecoder()
public void setInput(byte[] input)
setInput
in interface ImageDecoder
public void setInput(byte[] input, int start, int len)
setInput
in interface ImageDecoder
public int decode(byte[] pixels, int start, int len) throws java.lang.Exception
decode
in interface ImageDecoder
pixels
- buffer to put decoded datastart
- offset to start put decoded datalen
- the maximum number of uncompressed bytesjava.lang.Exception