public class ByteBufferBackedInputStream
extends java.io.InputStream
InputStream implementation that exposes currently
available content of a ByteBuffer.| Constructor and Description |
|---|
ByteBufferBackedInputStream(java.nio.ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
public ByteBufferBackedInputStream(java.nio.ByteBuffer buf)
public int available()
available in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved