Class LimitedInputStream

java.lang.Object
java.io.InputStream
org.apache.wayang.core.util.LimitedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class LimitedInputStream extends InputStream
InputStream that is trimmed to a specified size. Moreover, it counts the number of read bytes.