Although content skipping is difficult to support efficiently for 'push' mode (used by Uncompressor interface), it should be possible to at least support early termination.
This can be achieved by adding return value for DataHandler.handleData() and Uncompressor.feedCompressedData methods; returning of false indicates desire to terminate the processing to avoid having to access any more source data.
Although content skipping is difficult to support efficiently for 'push' mode (used by
Uncompressor
interface), it should be possible to at least support early termination. This can be achieved by adding return value forDataHandler.handleData()
andUncompressor.feedCompressedData
methods; returning of false indicates desire to terminate the processing to avoid having to access any more source data.