Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| private final CRC | |
| private final long | |
| private final ImageOutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv 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 |
| 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. |
| crc | back to summary |
|---|---|
| private final CRC crc | |
| startPos | back to summary |
|---|---|
| private final long startPos | |
| stream | back to summary |
|---|---|
| private final ImageOutputStream stream | |
| ChunkStream | back to summary |
|---|---|
| pack-priv ChunkStream(int type, ImageOutputStream stream) throws IOException | |
| finish | back to summary |
|---|---|
| pack-priv void finish() 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.
| |
| 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
| |