| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private int | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| public int | read()
Implements abstract java. |
| public int | read(byte[]
the buffer into which the data is read. buf, 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.
|
| pack-priv void | |
| pack-priv byte[] |
| _originalLength | back to summary |
|---|---|
| private final int _originalLength | |
| _remaining | back to summary |
|---|---|
| private int _remaining | |
| EMPTY_BYTES | back to summary |
|---|---|
| private static final byte[] EMPTY_BYTES | |
| DefiniteLengthInputStream | back to summary |
|---|---|
| pack-priv DefiniteLengthInputStream(InputStream in, int length, int limit) | |
| getRemaining | back to summary |
|---|---|
| pack-priv int getRemaining() | |
| 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[] buf, 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
| |
| readAllIntoByteArray | back to summary |
|---|---|
| pack-priv void readAllIntoByteArray(byte[] buf) throws IOException | |
| toByteArray | back to summary |
|---|---|
| pack-priv byte[] toByteArray() throws IOException | |