Class BoundedInputStream

java.lang.Object
java.io.InputStream
org.apache.flink.runtime.state.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