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 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:
availablein classInputStream
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-