Class BoundedInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class BoundedInputStream
    extends InputStream
    A stream that limits reading from a wrapped stream to a given number of bytes.
    Since:
    1.6