public class PngDecodingDataStream
extends java.io.InputStream
| Modifier and Type | Field and Description | 
|---|---|
| (package private) int | adlerValue | 
| (package private) byte | currentByte | 
| (package private) PngLzBlockReader | lzBlockReader | 
| (package private) static int | MAX_BIT | 
| (package private) int | nextBitIndex | 
| (package private) static int | PRIME | 
| (package private) java.io.InputStream | stream | 
| Constructor and Description | 
|---|
| PngDecodingDataStream(java.io.InputStream stream) | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) void | assertImageDataAtEnd()This method should be called when the image decoder thinks
 that all of the compressed image data has been read. | 
| (package private) void | checkAdler() | 
| void | close() | 
| (package private) void | error() | 
| (package private) int | getNextIdatBit() | 
| (package private) int | getNextIdatBits(int length) | 
| (package private) byte | getNextIdatByte() | 
| int | read() | 
| int | read(byte[] buffer,
    int off,
    int len) | 
| private void | readCompressedDataHeader() | 
| (package private) void | updateAdler(byte value) | 
java.io.InputStream stream
byte currentByte
int nextBitIndex
PngLzBlockReader lzBlockReader
int adlerValue
static final int PRIME
static final int MAX_BIT
PngDecodingDataStream(java.io.InputStream stream)
                throws java.io.IOException
java.io.IOExceptionvoid assertImageDataAtEnd()
                    throws java.io.IOException
java.io.IOExceptionpublic void close()
           throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionint getNextIdatBits(int length)
              throws java.io.IOException
java.io.IOExceptionint getNextIdatBit()
             throws java.io.IOException
java.io.IOExceptionbyte getNextIdatByte()
               throws java.io.IOException
java.io.IOExceptionvoid updateAdler(byte value)
public int read()
         throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
       int off,
       int len)
         throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionvoid error()
private void readCompressedDataHeader()
                               throws java.io.IOException
java.io.IOExceptionvoid checkAdler()
          throws java.io.IOException
java.io.IOException