public final class ByteBufferInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
ByteBufferInputStream() |
ByteBufferInputStream(java.nio.ByteBuffer aBuffer) |
ByteBufferInputStream(java.nio.ByteBuffer aBuf,
int aStartIdx,
int aLength) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] aBuffer) |
int |
read(byte[] aBuffer,
int aOffset,
int aLength) |
void |
reopen() |
long |
skip(long aLength) |
public ByteBufferInputStream()
public ByteBufferInputStream(java.nio.ByteBuffer aBuffer)
public ByteBufferInputStream(java.nio.ByteBuffer aBuf,
int aStartIdx,
int aLength)
public void reopen()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] aBuffer)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] aBuffer,
int aOffset,
int aLength)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long aLength)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException