public class BuiltInZlibInflater extends Inflater implements Decompressor
构造器和说明 |
---|
BuiltInZlibInflater() |
BuiltInZlibInflater(boolean nowrap) |
限定符和类型 | 方法和说明 |
---|---|
int |
decompress(byte[] b,
int off,
int len)
Fills specified buffer with uncompressed data.
|
end, finalize, finished, getAdler, getBytesRead, getBytesWritten, getRemaining, getTotalIn, getTotalOut, inflate, inflate, needsDictionary, needsInput, reset, setDictionary, setDictionary, setInput, setInput
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
end, finished, getRemaining, needsDictionary, needsInput, reset, setDictionary, setInput
public BuiltInZlibInflater(boolean nowrap)
public BuiltInZlibInflater()
public int decompress(byte[] b, int off, int len) throws IOException
Decompressor
Decompressor.needsInput()
should be called in order to determine if more
input data is required.decompress
在接口中 Decompressor
b
- Buffer for the compressed dataoff
- Start offset of the datalen
- Size of the bufferIOException
Copyright © 2009 The Apache Software Foundation