public class InflaterInputStream extends InputStream
InflaterInputStream包装实现,实现"deflate"算法解压| 构造器和说明 |
|---|
InflaterInputStream(InputStream wrapped)
构造
|
InflaterInputStream(InputStream wrapped,
int size)
构造
|
public InflaterInputStream(InputStream wrapped)
wrapped - 被包装的流public InflaterInputStream(InputStream wrapped, int size)
wrapped - 被包装的流size - buffer大小public int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip 在类中 InputStreamIOExceptionpublic int available()
throws IOException
available 在类中 InputStreamIOExceptionpublic void mark(int readLimit)
mark 在类中 InputStreampublic void reset()
throws IOException
reset 在类中 InputStreamIOExceptionpublic boolean markSupported()
markSupported 在类中 InputStreampublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionCopyright © 2023. All rights reserved.