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.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
protected int read(long pos, java.nio.ByteBuffer buf) throws java.io.IOException
java.io.IOException