| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| public long | Returns: the number of read bytesReturns the current number of bytes read from this stream. |
| public int | Returns: the number of read bytes
Deprecated
this method may yield wrong results for large archives, use #getBytesRead instead
Returns the current number of bytes read from this stream.
|
| public long | Returns: the amount of decompressed bytes returned by the streamReturns the amount of raw or compressed bytes read by the stream. |
| protected void | pushedBackBytes(final long
the number of bytes pushed back. pushedBack)Decrements the counter of already read bytes. |
| bytesRead | back to summary |
|---|---|
| private long bytesRead | |
| CompressorInputStream | back to summary |
|---|---|
| public CompressorInputStream() | |
| count | back to summary |
|---|---|
| protected void count(final int read) Increments the counter of already read bytes. Doesn't increment if the EOF has been hit (read == -1)
| |
| count | back to summary |
|---|---|
| protected void count(final long read) Increments the counter of already read bytes. Doesn't increment if the EOF has been hit (read == -1)
| |
| getBytesRead | back to summary |
|---|---|
| public long getBytesRead() Returns the current number of bytes read from this stream.
| |
| getCount | back to summary |
|---|---|
| public int getCount()
Deprecated this method may yield wrong results for large archives, use #getBytesRead instead Returns the current number of bytes read from this stream.
| |
| getUncompressedCount | back to summary |
|---|---|
| public long getUncompressedCount() Returns the amount of raw or compressed bytes read by the stream.
This implementation invokes
Provides half of
| |
| pushedBackBytes | back to summary |
|---|---|
| protected void pushedBackBytes(final long pushedBack) Decrements the counter of already read bytes.
| |