Package org.burningwave.core.io
Class ByteBufferInputStream
java.lang.Object
java.io.InputStream
org.burningwave.core.io.ByteBufferInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, skip, skipNBytes, transferTo
-
Constructor Details
-
ByteBufferInputStream
-
-
Method Details
-
getBuffer
-
toByteBuffer
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-
read
public int read()- Specified by:
readin classInputStream
-
read
public int read(byte[] bytes, int off, int len) - Overrides:
readin classInputStream
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-