public class ByteBufferBackedInputStream extends InputStream
| Constructor and Description |
|---|
ByteBufferBackedInputStream() |
ByteBufferBackedInputStream(ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
void |
setBuffer(ByteBuffer buf) |
long |
skip(long n) |
close, mark, markSupported, read, resetpublic ByteBufferBackedInputStream()
public ByteBufferBackedInputStream(ByteBuffer buf)
public void setBuffer(ByteBuffer buf)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionCopyright © GigaSpaces.