Class ByteBufferInputStream

java.lang.Object
java.io.InputStream
one.microstream.io.ByteBufferInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public final class ByteBufferInputStream
extends InputStream
Wrapper for ByteBuffers to be used as an InputStream.

If you need InputStream.mark(int) and InputStream.reset() to work, simply wrap this one in a BufferedInputStream.