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.InputStream
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"