Added Methods |
long getProcessedByteCount()
|
This method reports the processed bytes so far. |
long numberOfBytesTillNextMarker(InputStream )
|
Returns the number of bytes between the current stream position and the immediate next BZip2 block marker. |
void reportCRCError()
|
|
boolean skipToNextMarker(long, int)
|
This method tries to find the marker (passed to it as the first parameter) in the stream. |
void updateProcessedByteCount(int )
|
This method keeps track of raw processed compressed bytes. |
void updateReportedByteCount(int )
|
This method is called by the client of this class in case there are any corrections in the stream position. |