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.
|
checkAndReadAESMacBytespublic InflaterInputStream(java.io.RandomAccessFile raf,
long start,
long len,
UnzipEngine unzipEngine)
public int read()
throws java.io.IOException
read 在类中 PartInputStreamjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read 在类中 PartInputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read 在类中 PartInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip 在类中 PartInputStreamn - 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 在类中 PartInputStreamjava.io.IOExceptionpublic int available()
Programs should not count on this method to return the actual number of bytes that could be read without blocking.
available 在类中 PartInputStreamjava.io.IOException - if an I/O error occurs.public void close()
throws java.io.IOException
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseableclose 在类中 PartInputStreamjava.io.IOExceptionpublic UnzipEngine getUnzipEngine()
getUnzipEngine 在类中 PartInputStream