
public class ByteBufferInputStream extends InputStream
| Modifier and Type | Field and Description | 
|---|---|
(package private) ByteBuffer | 
buffer
The actual buffer we're using. 
 | 
| Constructor and Description | 
|---|
ByteBufferInputStream(ByteBuffer buffer)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
read()  | 
int | 
read(byte[] b,
    int off,
    int len)  | 
available, close, mark, markSupported, read, reset, skipfinal ByteBuffer buffer
public ByteBufferInputStream(ByteBuffer buffer)
buffer - ByteBuffer to wrap.public int read()
read in class InputStreampublic int read(byte[] b,
       int off,
       int len)
read in class InputStream