java.io.Closeable
, java.lang.AutoCloseable
public class DemuxInputStream
extends java.io.InputStream
Constructor | Description |
---|---|
DemuxInputStream(Project project) |
Create a DemuxInputStream for the given project
|
Modifier and Type | Method | Description |
---|---|---|
int |
read() |
Read a byte from the project's demultiplexed input.
|
int |
read(byte[] buffer,
int offset,
int length) |
Read bytes from the project's demultiplexed input.
|
public DemuxInputStream(Project project)
project
- the project instancepublic int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
- on errorpublic int read(byte[] buffer, int offset, int length) throws java.io.IOException
read
in class java.io.InputStream
buffer
- an array of bytes to read intooffset
- the offset in the array of byteslength
- the number of bytes in the arrayjava.io.IOException
- on error