Deprecated
| Access | Constructor and Description |
|---|---|
| public | BoundedInputStream(final InputStream
the stream to read from in, final long the maximum amount of bytes to read size)Creates the stream that will at most read the given amount of bytes from the given stream. |
| Modifier and Type | Method and Description |
|---|---|
| public long |
| BoundedInputStream | back to summary |
|---|---|
| public BoundedInputStream(final InputStream in, final long size) Creates the stream that will at most read the given amount of bytes from the given stream.
| |
| getBytesRemaining | back to summary |
|---|---|
| public long getBytesRemaining() Gets how many bytes remain to read.
| |