Class LengthLimitedInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class LengthLimitedInputStream
    extends FilterInputStream
    A wrapper over an FilterInputStream which limits the reads of data from the input stream up to a specified length that is shorter than the actual length of the stream.