public class DeflaterReader extends InputStream
Constructor and Description |
---|
DeflaterReader(InputStream inData,
AtomicLong bytesRead) |
Modifier and Type | Method and Description |
---|---|
void |
closeStream() |
long |
getTotalSize() |
int |
read() |
int |
read(byte[] buffer,
int offset,
int len)
Try to fill the buffer with compressed bytes.
|
available, close, mark, markSupported, read, reset, skip
public DeflaterReader(InputStream inData, AtomicLong bytesRead)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] buffer, int offset, int len) throws IOException
read
in class InputStream
buffer
- the buffer to fill compressed bytesIOException
public void closeStream() throws IOException
IOException
public long getTotalSize()
Copyright © 2017 JBoss by Red Hat. All rights reserved.