Class LimitedInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class LimitedInputStream
    extends InputStream
    This class provide functionality to limit bytes read from InputStream. You need to wrap chained compression stream with this stream to prevent overreading inner stream.