Class DirectImageInputStream

java.lang.Object
javax.imageio.stream.ImageInputStreamImpl
com.twelvemonkeys.imageio.stream.DirectImageInputStream
All Implemented Interfaces:
Closeable, DataInput, AutoCloseable, ImageInputStream

public final class DirectImageInputStream extends ImageInputStreamImpl
An ImageInputStream that adapts an InputSteam, by reading directly from the stream without and form of caching or buffering.

Note: This is not a general-purpose ImageInputStream, and is designed for reading large chunks, typically of pixel data, from an InputStream. It does not support backwards seeking, or reading bits.