public final class ByteBufferInputStream
extends java.io.InputStream
ByteBuffer object| Constructor | Description |
|---|---|
ByteBufferInputStream(java.nio.ByteBuffer buf) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException