private class ZipFile.BoundedInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private long |
end |
private long |
loc |
private java.nio.ByteBuffer |
singleByteBuffer |
| Constructor and Description |
|---|
BoundedInputStream(long start,
long remaining) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
protected int |
read(long pos,
java.nio.ByteBuffer buf) |
private java.nio.ByteBuffer singleByteBuffer
private final long end
private long loc
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionprotected int read(long pos,
java.nio.ByteBuffer buf)
throws java.io.IOException
java.io.IOException