| Modifier and Type | Field and Description |
|---|---|
| private final SeekableByteChannel |
| Access | Constructor and Description |
|---|---|
| public | BoundedSeekableByteChannelInputStream(final long
Position in the stream from where the reading of this bounded stream starts start, final long Amount of bytes which are allowed to read from the bounded stream remaining, final SeekableByteChannel Channel which the reads will be delegated to channel)Constructs a bounded stream on the underlying |
| Modifier and Type | Method and Description |
|---|---|
| protected int | read(final long
position to start the read. pos, final ByteBuffer buffer to add the read content. buf)Implements abstract org. ByteBuffer.
|
| channel | back to summary |
|---|---|
| private final SeekableByteChannel channel | |
| BoundedSeekableByteChannelInputStream | back to summary |
|---|---|
| public BoundedSeekableByteChannelInputStream(final long start, final long remaining, final SeekableByteChannel channel) Constructs a bounded stream on the underlying
| |
| read | back to summary |
|---|---|
| protected int read(final long pos, final ByteBuffer buf) throws IOException Implements abstract org. Doc from org. Reads content of the stream into a
| |