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, reset
public ByteBufferBackedInputStream()
public ByteBufferBackedInputStream(ByteBuffer buf)
public void setBuffer(ByteBuffer buf)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] bytes, int off, int len) throws IOException
read
in class InputStream
IOException
public int available() throws IOException
available
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
Copyright © GigaSpaces.