| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv byte | |
| pack-priv PngLzBlockReader | |
| pack-priv static final int | |
| pack-priv int | |
| pack-priv static final int | |
| pack-priv InputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | assertImageDataAtEnd()
This method should be called when the image decoder thinks that all of the compressed image data has been read. |
| pack-priv void | |
| public void | close()
Overrides java. Implements java. |
| pack-priv void | |
| pack-priv int | |
| pack-priv int | |
| pack-priv byte | |
| public int | read()
Implements abstract java. |
| public int | read(byte[]
the buffer into which the data is read. buffer, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. len bytes of data from the input stream into
an array of bytes.
|
| private void | |
| pack-priv void |
| adlerValue | back to summary |
|---|---|
| pack-priv int adlerValue | |
| currentByte | back to summary |
|---|---|
| pack-priv byte currentByte | |
| lzBlockReader | back to summary |
|---|---|
| pack-priv PngLzBlockReader lzBlockReader | |
| MAX_BIT | back to summary |
|---|---|
| pack-priv static final int MAX_BIT | |
| nextBitIndex | back to summary |
|---|---|
| pack-priv int nextBitIndex | |
| PRIME | back to summary |
|---|---|
| pack-priv static final int PRIME | |
| stream | back to summary |
|---|---|
| pack-priv InputStream stream | |
| PngDecodingDataStream | back to summary |
|---|---|
| pack-priv PngDecodingDataStream(InputStream stream) throws IOException | |
| assertImageDataAtEnd | back to summary |
|---|---|
| pack-priv void assertImageDataAtEnd() throws IOException This method should be called when the image decoder thinks that all of the compressed image data has been read. This method will ensure that the next data value is an end of block marker. If there are more blocks after this one, the method will read them and ensure that they are empty. | |
| checkAdler | back to summary |
|---|---|
| pack-priv void checkAdler() throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| error | back to summary |
|---|---|
| pack-priv void error() | |
| getNextIdatBit | back to summary |
|---|---|
| pack-priv int getNextIdatBit() throws IOException | |
| getNextIdatBits | back to summary |
|---|---|
| pack-priv int getNextIdatBits(int length) throws IOException | |
| getNextIdatByte | back to summary |
|---|---|
| pack-priv byte getNextIdatByte() throws IOException | |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] buffer, int off, int len) throws IOException Overrides java. Doc from java. Reads up to This method blocks until input data is available, end of file is detected, or an exception is thrown. If The first byte read is stored into element In every case, elements
| |
| readCompressedDataHeader | back to summary |
|---|---|
| private void readCompressedDataHeader() throws IOException | |
| updateAdler | back to summary |
|---|---|
| pack-priv void updateAdler(byte value) | |