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