Class LengthAvailableInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.cassandra.io.util.LengthAvailableInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class LengthAvailableInputStream extends FilterInputStream
a FilterInputStream that returns the remaining bytes to read from available() regardless of whether the device is ready to provide them.