public class ByteBufferInputStream extends InputStream
| Constructor and Description |
|---|
ByteBufferInputStream(ByteBuffer bb) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
close, mark, resetpublic ByteBufferInputStream(ByteBuffer bb)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2018. All rights reserved.