I - The type of buffer input to the decoder.O - The type of buffer output from the decoder.E - The type of exception thrown from the decoder.public interface Decoder<I,O,E extends Exception>
| Modifier and Type | Method and Description |
|---|---|
I |
dequeueInputBuffer()
Dequeues the next input buffer to be filled and queued to the decoder.
|
O |
dequeueOutputBuffer()
Dequeues the next output buffer from the decoder.
|
void |
flush()
Flushes input/output buffers that have not been dequeued yet and returns ownership of any
dequeued input buffer to the decoder.
|
void |
queueInputBuffer(I inputBuffer)
Queues an input buffer to the decoder.
|
void |
release()
Releases the decoder.
|
I dequeueInputBuffer() throws E extends Exception
void queueInputBuffer(I inputBuffer) throws E extends Exception
O dequeueOutputBuffer() throws E extends Exception
void flush()
void release()