public abstract class CompressorInputStream extends InputStream
| Constructor and Description |
|---|
CompressorInputStream()
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
count(int read)
Increments the counter of already read bytes.
|
protected void |
count(long read)
Increments the counter of already read bytes.
|
long |
getBytesRead()
Returns the current number of bytes read from this stream.
|
int |
getCount()
Deprecated.
this method may yield wrong results for large archives, use #getBytesRead instead
|
protected void |
pushedBackBytes(long pushedBack)
Decrements the counter of already read bytes.
|
available, close, mark, markSupported, read, read, read, reset, skipprotected void count(int read)
read - the number of bytes read
protected void count(long read)
read - the number of bytes read
protected void pushedBackBytes(long pushedBack)
pushedBack - the number of bytes pushed back.
@Deprecated public int getCount()
public long getBytesRead()