Class BufferedDirectBufInputStream

All Implemented Interfaces:
Closeable, AutoCloseable

public class BufferedDirectBufInputStream extends DirectBufInputStream implements Closeable
BufferedDirectBufInputStream reads from the underlying InputStream in blocks of data, into an internal buffer. The internal buffer is a direct memory backed buffer. The implementation is similar to the BufferedInputStream class except that the internal buffer is a Drillbuf and not a byte array. The mark and reset methods of the underlying InputStreamare not supported.