public class ByteBufferInputStream extends InputStream
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
buffer |
| Constructor and Description |
|---|
ByteBufferInputStream(ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
close, mark, markSupported, read, reset, skipprotected final ByteBuffer buffer
public ByteBufferInputStream(ByteBuffer buf)
public int available()
available in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.