Class BoundedInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class BoundedInputStream
    extends InputStream
    Wrapper around a FSDataInputStream to limit the maximum read offset.

    Based on the implementation from org.apache.commons.io.input.BoundedInputStream