private class ZipFile.BoundedInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
private boolean |
addDummyByte |
private long |
loc |
private long |
remaining |
Constructor and Description |
---|
ZipFile.BoundedInputStream(long start,
long remaining) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addDummy()
Inflater needs an extra dummy byte for nowrap - see
Inflater's javadocs.
|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
private long remaining
private long loc
private boolean addDummyByte
ZipFile.BoundedInputStream(long start, long remaining)
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
void addDummy()