public interface ImageDecoder
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] pix,
int offset,
int len) |
void |
setInput(byte[] input) |
void |
setInput(byte[] input,
int offset,
int len) |
int decode(byte[] pix, int offset, int len) throws java.lang.Exception
pix
- buffer to put decoded dataoffset
- offset to start put decoded datalen
- the maximum number of uncompressed bytesjava.lang.Exception
void setInput(byte[] input)
void setInput(byte[] input, int offset, int len)