public class DemuxInputStream extends InputStream
Constructor and Description |
---|
DemuxInputStream(Project project)
Create a DemuxInputStream for the given project
|
Modifier and Type | Method and Description |
---|---|
int |
read()
Read a byte from the project's demuxed input.
|
int |
read(byte[] buffer,
int offset,
int length)
Read bytes from the project's demuxed input.
|
available, close, mark, markSupported, read, reset, skip
public DemuxInputStream(Project project)
project
- the project instancepublic int read() throws IOException
read
in class InputStream
IOException
- on errorpublic int read(byte[] buffer, int offset, int length) throws IOException
read
in class InputStream
buffer
- an array of bytes to read intooffset
- the offset in the array of byteslength
- the number of bytes in the arrayIOException
- on errorInputStream.read()