public class ByteBufferBackedInputStream extends InputStream
InputStream implementation that exposes currently
available content of a ByteBuffer.| Constructor and Description |
|---|
ByteBufferBackedInputStream(ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
close, mark, markSupported, read, reset, skippublic ByteBufferBackedInputStream(ByteBuffer buf)
public int available()
available in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved