Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private int | |
| private final int | |
| private static final byte[] | |
| private final CRC | |
| private final Deflater | |
| private long | |
| private final ImageOutputStream | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| private void | |
| public int | read()
Implements abstract javax. Implements javax. Reads a single byte from the stream and returns it as an integer between 0 and 255. |
| public int | read(byte[] b, int off, int len)
Implements abstract javax. Implements javax. Reads up to |
| private void | |
| public void | write(byte[] b, int off, int len)
Implements abstract javax. Implements javax. Writes a sequence of bytes to the stream at the current position. |
| public void | write(int b)
Implements abstract javax. Implements javax. Writes a single byte to the stream at the current position. |
| buf | back to summary |
|---|---|
| private final byte[] buf | |
| bytesRemaining | back to summary |
|---|---|
| private int bytesRemaining | |
| chunkLength | back to summary |
|---|---|
| private final int chunkLength | |
| chunkType | back to summary |
|---|---|
| private static final byte[] chunkType | |
| crc | back to summary |
|---|---|
| private final CRC crc | |
| def | back to summary |
|---|---|
| private final Deflater def | |
| startPos | back to summary |
|---|---|
| private long startPos | |
| stream | back to summary |
|---|---|
| private final ImageOutputStream stream | |
| wbuf1 | back to summary |
|---|---|
| private final byte[] wbuf1 | |
| IDATOutputStream | back to summary |
|---|---|
| pack-priv IDATOutputStream(ImageOutputStream stream, int chunkLength, int deflaterLevel) throws IOException | |
| deflate | back to summary |
|---|---|
| pack-priv void deflate() throws IOException | |
| finish | back to summary |
|---|---|
| pack-priv void finish() throws IOException | |
| finishChunk | back to summary |
|---|---|
| private void finishChunk() throws IOException | |
| read | back to summary |
|---|---|
| public int read() throws IOException Implements abstract javax. Implements javax. Doc from javax. Reads a single byte from the stream and returns it as an integer between 0 and 255. If the end of the stream is reached, -1 is returned. The bit offset within the stream is reset to zero before the read occurs.
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Implements abstract javax. Implements javax. Doc from javax. Reads up to The bit offset within the stream is reset to zero before the read occurs.
| |
| startChunk | back to summary |
|---|---|
| private void startChunk() throws IOException | |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Implements abstract javax. Implements javax. Doc from javax. Writes a sequence of bytes to the stream at the current
position. If If the bit offset within the stream is non-zero, the
remainder of the current byte is padded with 0s
and written out first. The bit offset will be 0 after the
write. Implementers can use the
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract javax. Implements javax. Doc from javax. Writes a single byte to the stream at the current position.
The 24 high-order bits of If the bit offset within the stream is non-zero, the
remainder of the current byte is padded with 0s
and written out first. The bit offset will be 0 after the
write. Implementers can use the
| |