Class CircularBufferInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apache.commons.io.input.buffer.CircularBufferInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
PeekableInputStream

Implements a buffered input stream, which is internally based on a CircularByteBuffer. Unlike the BufferedInputStream, this one doesn't need to reallocate byte arrays internally.
Since:
2.7