public class BufferedInflaterInputStream
extends java.io.FilterInputStream
InflaterInputStream
a few bytes at a time. This class buffers on the
decompressed side. The input stream passed to this class upon construction is responsible
for buffering on the disk access side.Constructor and Description |
---|
BufferedInflaterInputStream(java.util.zip.InflaterInputStream infIn,
int bufferSize)
Create a stream from a compressed input stream.
|
public BufferedInflaterInputStream(java.util.zip.InflaterInputStream infIn, int bufferSize)
infIn
- the underlying decompression stream that is to be buffered.bufferSize
- the amount of decompressed data to buffer.public int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] b, int start, int length) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long bytesToSkip) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException