Package org.ojalgo.netio
Class ByteBufferBackedInputStream
java.lang.Object
java.io.InputStream
org.ojalgo.netio.ByteBufferBackedInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
myBuffer
-
-
Constructor Details
-
ByteBufferBackedInputStream
ByteBufferBackedInputStream(ByteBuffer buffer)
-
-
Method Details
-
available
public int available()- Overrides:
available
in classInputStream
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-