public class InflatorFileDataDecoder extends Object implements FileDataDecoder
Constructor and Description |
---|
InflatorFileDataDecoder(RewindableInputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
decode(byte[] outputFuffer,
int offset,
int length)
Decode a buffer bytes from a Zip-file.
|
long |
getBytesRead()
Return the number of encoded bytes read in.
|
long |
getBytesWritten()
Return the number of decoded bytes written out.
|
public InflatorFileDataDecoder(RewindableInputStream inputStream) throws IOException
IOException
public int decode(byte[] outputFuffer, int offset, int length) throws IOException
FileDataDecoder
decode
in interface FileDataDecoder
outputFuffer
- Buffer to write decoded bytes into.offset
- offset in the buffer to write the decoded byteslength
- number of bytes that can be read into the bufferIOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public long getBytesRead()
FileDataDecoder
getBytesRead
in interface FileDataDecoder
public long getBytesWritten()
FileDataDecoder
getBytesWritten
in interface FileDataDecoder
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.