java.io.Closeable, java.lang.AutoCloseablepublic class ByteBufferInputStream
extends java.io.InputStream
| Constructor | Description |
|---|---|
ByteBufferInputStream(java.nio.ByteBuffer byteBuffer) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
void |
close() |
|
void |
mark(int readLimit) |
|
boolean |
markSupported() |
|
int |
read() |
|
void |
reset() |
public ByteBufferInputStream(java.nio.ByteBuffer byteBuffer)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic void mark(int readLimit)
mark in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOExceptionpublic int available()
available in class java.io.InputStreampublic void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.InputStreamCopyright © 2008–2025 Apache Software Foundation. All rights reserved.