public class InflaterInputStream extends PartInputStream
构造器和说明 |
---|
InflaterInputStream(java.io.RandomAccessFile raf,
long start,
long len,
UnzipEngine unzipEngine) |
限定符和类型 | 方法和说明 |
---|---|
int |
available()
Returns 0 after EOF has been reached, otherwise always return 1.
|
void |
close() |
UnzipEngine |
getUnzipEngine() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
long |
skip(long n)
Skips specified number of bytes of uncompressed data.
|
checkAndReadAESMacBytes
public InflaterInputStream(java.io.RandomAccessFile raf, long start, long len, UnzipEngine unzipEngine)
public int read() throws java.io.IOException
read
在类中 PartInputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
在类中 PartInputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
在类中 PartInputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
在类中 PartInputStream
n
- the number of bytes to skipjava.io.IOException
- if an I/O error has occurredjava.lang.IllegalArgumentException
- if n < 0public void seek(long pos) throws java.io.IOException
seek
在类中 PartInputStream
java.io.IOException
public int available()
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
available
在类中 PartInputStream
java.io.IOException
- if an I/O error occurs.public void close() throws java.io.IOException
close
在接口中 java.io.Closeable
close
在接口中 java.lang.AutoCloseable
close
在类中 PartInputStream
java.io.IOException
public UnzipEngine getUnzipEngine()
getUnzipEngine
在类中 PartInputStream