org.codehaus.plexus.archiver.zip
Class ZipFile.BoundedInputStream
InputStream
org.codehaus.plexus.archiver.zip.ZipFile.BoundedInputStream
- ZipFile
private class ZipFile.BoundedInputStream
extends InputStream
InputStream that delegates requests to the underlying
RandomAccessFile, making sure that only bytes from a certain
range can be read.
(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)
|
addDummyByte
private boolean addDummyByte
remaining
private long remaining
BoundedInputStream
(package private) BoundedInputStream(long start,
long remaining)
addDummy
(package private) void addDummy()
Inflater needs an extra dummy byte for nowrap - see
Inflater's javadocs.
read
public int read()
throws IOException
read
public int read(byte[] b,
int off,
int len)
throws IOException