public final class ByteBufferInputStream
extends java.io.InputStream
ByteBuffer
objectConstructor | 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.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException